home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The Arcade• / Pinball CS Demo ••••• / Pinball Help / Pinball Help.rsrc / CODE_1.txt < prev    next >
Text File  |  1989-06-30  |  173KB  |  3,062 lines

  1. # near model CODE resource
  2. # jump table entries: 0-0 (1 of them)
  3. export_0:
  4. 00000000  4EFA 1B90                jmp        [PC + 0x1B90 /* 00001B92 */]
  5. fn00000004:
  6. 00000004  4E56 FFF8                link       A6, -0x0008
  7. 00000008  48E7 0108                movem.l    -[A7], D7,A4
  8. 0000000C  286E 0008                movea.l    A4, [A6 + 0x8]
  9. 00000010  2D54 FFF8                move.l     [A6 - 0x8], [A4]
  10. 00000014  2D6C 0004 FFFC           move.l     [A6 - 0x4], [A4 + 0x4]
  11. 0000001A  486E FFF8                pea.l      [A6 - 0x8]
  12. 0000001E  A870                     syscall    LocalToGlobal
  13. 00000020  486E FFFC                pea.l      [A6 - 0x4]
  14. 00000024  A870                     syscall    LocalToGlobal
  15. 00000026  286E 000C                movea.l    A4, [A6 + 0xC]
  16. 0000002A  28AE FFF8                move.l     [A4], [A6 - 0x8]
  17. 0000002E  296E FFFC 0004           move.l     [A4 + 0x4], [A6 - 0x4]
  18. 00000034  4CDF 1080                movem.l    D7,A4, [A7]+
  19. 00000038  4E5E                     unlink     A6
  20. 0000003A  2E9F                     move.l     [A7], [A7]+
  21. 0000003C  4E75                     rts
  22. fn0000003E:
  23. 0000003E  4E56 0000                link       A6, 0
  24. 00000042  48E7 0100                movem.l    -[A7], D7
  25. 00000046  3E2E 000A                move.w     D7, [A6 + 0xA]
  26. 0000004A  BE6E 0008                cmp.w      D7, [A6 + 0x8]
  27. 0000004E  6F00 000C                ble        +0xE /* 0000005C */
  28. 00000052  3D6E 0008 000C           move.w     [A6 + 0xC], [A6 + 0x8]
  29. 00000058  4EFA 0008                jmp        [PC + 0x8 /* 00000062 */]
  30. label0000005C:
  31. 0000005C  3D6E 000A 000C           move.w     [A6 + 0xC], [A6 + 0xA]
  32. label00000062:
  33. 00000062  4CDF 0080                movem.l    D7, [A7]+
  34. 00000066  4E5E                     unlink     A6
  35. 00000068  2E9F                     move.l     [A7], [A7]+
  36. 0000006A  4E75                     rts
  37. fn0000006C:
  38. 0000006C  4E56 FFDC                link       A6, -0x0024
  39. 00000070  48E7 0108                movem.l    -[A7], D7,A4
  40. 00000074  2D6D FEA6 FFE4           move.l     [A6 - 0x1C], [A5 - 0x15A]
  41. 0000007A  2D6D FEAA FFE8           move.l     [A6 - 0x18], [A5 - 0x156]
  42. 00000080  286E 000A                movea.l    A4, [A6 + 0xA]
  43. 00000084  2D54 FFFC                move.l     [A6 - 0x4], [A4]
  44. 00000088  286E FFFC                movea.l    A4, [A6 - 0x4]
  45. 0000008C  2D6C 0010 FFEC           move.l     [A6 - 0x14], [A4 + 0x10]
  46. 00000092  2D6C 0014 FFF0           move.l     [A6 - 0x10], [A4 + 0x14]
  47. 00000098  286E 000A                movea.l    A4, [A6 + 0xA]
  48. 0000009C  2F14                     move.l     -[A7], [A4]
  49. 0000009E  3E2E FFE8                move.w     D7, [A6 - 0x18]
  50. 000000A2  0647 0032                addi.w     D7, 0x32 /* '2' */
  51. 000000A6  3F07                     move.w     -[A7], D7
  52. 000000A8  3E2E FFEA                move.w     D7, [A6 - 0x16]
  53. 000000AC  0647 0032                addi.w     D7, 0x32 /* '2' */
  54. 000000B0  3F07                     move.w     -[A7], D7
  55. 000000B2  4227                     clr.b      -[A7]
  56. 000000B4  A91B                     syscall    MoveWindow
  57. 000000B6  286E 000A                movea.l    A4, [A6 + 0xA]
  58. 000000BA  2F14                     move.l     -[A7], [A4]
  59. 000000BC  1F3C 0001                move.b     -[A7], 0x1
  60. 000000C0  A908                     syscall    ShowHide
  61. 000000C2  286E FFFC                movea.l    A4, [A6 - 0x4]
  62. 000000C6  286C 0072                movea.l    A4, [A4 + 0x72]
  63. 000000CA  2854                     movea.l    A4, [A4]
  64. 000000CC  2D6C 0002 FFF4           move.l     [A6 - 0xC], [A4 + 0x2]
  65. 000000D2  2D6C 0006 FFF8           move.l     [A6 - 0x8], [A4 + 0x6]
  66. 000000D8  286E 000A                movea.l    A4, [A6 + 0xA]
  67. 000000DC  2F14                     move.l     -[A7], [A4]
  68. 000000DE  4227                     clr.b      -[A7]
  69. 000000E0  A908                     syscall    ShowHide
  70. 000000E2  3E2E FFFA                move.w     D7, [A6 - 0x6]
  71. 000000E6  9E6E FFF6                sub.w      D7, [A6 - 0xA]
  72. 000000EA  9E6E FFF2                sub.w      D7, [A6 - 0xE]
  73. 000000EE  DE6E FFEE                add.w      D7, [A6 - 0x12]
  74. 000000F2  48C7                     ext.l      D7
  75. 000000F4  8FFC 0002                divs.w     D7, 0x2
  76. 000000F8  3D47 FFDC                move.w     [A6 - 0x24], D7
  77. 000000FC  3E2E FFF8                move.w     D7, [A6 - 0x8]
  78. 00000100  9E6E FFF4                sub.w      D7, [A6 - 0xC]
  79. 00000104  9E6E FFF0                sub.w      D7, [A6 - 0x10]
  80. 00000108  DE6E FFEC                add.w      D7, [A6 - 0x14]
  81. 0000010C  3D47 FFDE                move.w     [A6 - 0x22], D7
  82. 00000110  0C6E 0013 FFDE           cmpi.w     [A6 - 0x22], 0x13
  83. 00000116  6F00 000C                ble        +0xE /* 00000124 */
  84. 0000011A  3D7C 0013 FFDE           move.w     [A6 - 0x22], 0x13
  85. 00000120  4EFA 0010                jmp        [PC + 0x10 /* 00000132 */]
  86. label00000124:
  87. 00000124  3E2E FFDE                move.w     D7, [A6 - 0x22]
  88. 00000128  48C7                     ext.l      D7
  89. 0000012A  8FFC 0002                divs.w     D7, 0x2
  90. 0000012E  3D47 FFDE                move.w     [A6 - 0x22], D7
  91. label00000132:
  92. 00000132  3E2E FFEA                move.w     D7, [A6 - 0x16]
  93. 00000136  9E6E FFE6                sub.w      D7, [A6 - 0x1A]
  94. 0000013A  9E6E FFFA                sub.w      D7, [A6 - 0x6]
  95. 0000013E  DE6E FFF6                add.w      D7, [A6 - 0xA]
  96. 00000142  48C7                     ext.l      D7
  97. 00000144  8FFC 0002                divs.w     D7, 0x2
  98. 00000148  3D47 FFE2                move.w     [A6 - 0x1E], D7
  99. 0000014C  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  100. 00000150  0647 0014                addi.w     D7, 0x14
  101. 00000154  3D47 FFE4                move.w     [A6 - 0x1C], D7
  102. 00000158  3E2E FFE8                move.w     D7, [A6 - 0x18]
  103. 0000015C  9E6E FFE4                sub.w      D7, [A6 - 0x1C]
  104. 00000160  9E6E FFF8                sub.w      D7, [A6 - 0x8]
  105. 00000164  DE6E FFF4                add.w      D7, [A6 - 0xC]
  106. 00000168  48C7                     ext.l      D7
  107. 0000016A  8FFC 0002                divs.w     D7, 0x2
  108. 0000016E  0647 0014                addi.w     D7, 0x14
  109. 00000172  3D47 FFE0                move.w     [A6 - 0x20], D7
  110. 00000176  286E 000A                movea.l    A4, [A6 + 0xA]
  111. 0000017A  2F14                     move.l     -[A7], [A4]
  112. 0000017C  3E2E FFDC                move.w     D7, [A6 - 0x24]
  113. 00000180  DE6E FFE2                add.w      D7, [A6 - 0x1E]
  114. 00000184  3F07                     move.w     -[A7], D7
  115. 00000186  3E2E FFDE                move.w     D7, [A6 - 0x22]
  116. 0000018A  DE6E FFE0                add.w      D7, [A6 - 0x20]
  117. 0000018E  3F07                     move.w     -[A7], D7
  118. 00000190  4227                     clr.b      -[A7]
  119. 00000192  A91B                     syscall    MoveWindow
  120. 00000194  4A2E 0008                tst.b      [A6 + 0x8]
  121. 00000198  6700 000A                beq        +0xC /* 000001A4 */
  122. 0000019C  286E 000A                movea.l    A4, [A6 + 0xA]
  123. 000001A0  2F14                     move.l     -[A7], [A4]
  124. 000001A2  A915                     syscall    ShowWindow
  125. label000001A4:
  126. 000001A4  4CDF 1080                movem.l    D7,A4, [A7]+
  127. 000001A8  4E5E                     unlink     A6
  128. 000001AA  205F                     movea.l    A0, [A7]+
  129. 000001AC  5C8F                     addq.l     A7, 6
  130. 000001AE  4ED0                     jmp        [A0]
  131. fn000001B0:
  132. 000001B0  4E56 FFFA                link       A6, -0x0006
  133. 000001B4  48E7 0100                movem.l    -[A7], D7
  134. 000001B8  598F                     subq.l     A7, 4
  135. 000001BA  3F3C 0BB8                move.w     -[A7], 0xBB8
  136. 000001BE  42A7                     clr.l      -[A7]
  137. 000001C0  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  138. 000001C6  A97C                     syscall    GetNewDialog
  139. 000001C8  2E1F                     move.l     D7, [A7]+
  140. 000001CA  2D47 FFFC                move.l     [A6 - 0x4], D7
  141. 000001CE  486E FFFC                pea.l      [A6 - 0x4]
  142. 000001D2  1F3C 0001                move.b     -[A7], 0x1
  143. 000001D6  4EBA FE94                jsr        [PC - 0x16C /* 0000006C */]
  144. 000001DA  42A7                     clr.l      -[A7]
  145. 000001DC  486E FFFA                pea.l      [A6 - 0x6]
  146. 000001E0  A991                     syscall    ModalDialog
  147. 000001E2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  148. 000001E6  A983                     syscall    DisposeDialog
  149. 000001E8  4CDF 0080                movem.l    D7, [A7]+
  150. 000001EC  4E5E                     unlink     A6
  151. 000001EE  4E75                     rts
  152. 000001F0  4E56 FFF6                link       A6, -0x000A
  153. 000001F4  48E7 0308                movem.l    -[A7], D6,D7,A4
  154. 000001F8  3E2E 0008                move.w     D7, [A6 + 0x8]
  155. 000001FC  48C7                     ext.l      D7
  156. 000001FE  DEAE 000A                add.l      D7, [A6 + 0xA]
  157. 00000202  2D47 FFF8                move.l     [A6 - 0x8], D7
  158. 00000206  2D6E FFF8 FFFC           move.l     [A6 - 0x4], [A6 - 0x8]
  159. 0000020C  286E FFFC                movea.l    A4, [A6 - 0x4]
  160. 00000210  4247                     clr.w      D7
  161. 00000212  1E14                     move.b     D7, [A4]
  162. 00000214  3D47 FFF6                move.w     [A6 - 0xA], D7
  163. 00000218  3E2E FFF6                move.w     D7, [A6 - 0xA]
  164. 0000021C  6B18                     bmi        +0x1A /* 00000236 */
  165. 0000021E  0C47 00FF                cmpi.w     D7, 0xFF
  166. 00000222  6E12                     bgt        +0x14 /* 00000236 */
  167. 00000224  49ED FFEA                lea.l      A4, [A5 - 0x16]
  168. 00000228  3C07                     move.w     D6, D7
  169. 0000022A  E64E                     lsr        D6.w, 3
  170. 0000022C  4446                     neg.w      D6
  171. 0000022E  0F34 60FF                btst       [A4 + D6.w - 0x1], D7
  172. 00000232  0A3C 0004                xori.b     ccr, 4
  173. label00000236:
  174. 00000236  6600 000C                bne        +0xE /* 00000244 */
  175. 0000023A  1D7C 0001 000E           move.b     [A6 + 0xE], 0x1
  176. 00000240  4EFA 0006                jmp        [PC + 0x6 /* 00000248 */]
  177. label00000244:
  178. 00000244  422E 000E                clr.b      [A6 + 0xE]
  179. label00000248:
  180. 00000248  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  181. 0000024C  4E5E                     unlink     A6
  182. 0000024E  205F                     movea.l    A0, [A7]+
  183. 00000250  5C8F                     addq.l     A7, 6
  184. 00000252  4ED0                     jmp        [A0]
  185. fn00000254:
  186. 00000254  4E56 FFF2                link       A6, -0x000E
  187. 00000258  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  188. 0000025C  4A6D FF56                tst.w      [A5 - 0xAA]
  189. 00000260  6700 005E                beq        +0x60 /* 000002C0 */
  190. 00000264  3E3C 0001                move.w     D7, 0x1
  191. 00000268  3D47 FFF4                move.w     [A6 - 0xC], D7
  192. 0000026C  BE6D FF56                cmp.w      D7, [A5 - 0xAA]
  193. 00000270  6E00 004E                bgt        +0x50 /* 000002C0 */
  194. 00000274  3D6D FF56 FFF2           move.w     [A6 - 0xE], [A5 - 0xAA]
  195. label0000027A:
  196. 0000027A  3C07                     move.w     D6, D7
  197. 0000027C  5346                     subq.w     D6, 1
  198. 0000027E  E54E                     lsl        D6.w, 2
  199. 00000280  49ED FF58                lea.l      A4, [A5 - 0xA8]
  200. 00000284  2874 6000                movea.l    A4, [A4 + D6.w]
  201. 00000288  2854                     movea.l    A4, [A4]
  202. 0000028A  2D6C 0002 FFF8           move.l     [A6 - 0x8], [A4 + 0x2]
  203. 00000290  2D6C 0006 FFFC           move.l     [A6 - 0x4], [A4 + 0x6]
  204. 00000296  3C07                     move.w     D6, D7
  205. 00000298  5346                     subq.w     D6, 1
  206. 0000029A  CDFC 0006                muls.w     D6, 0x6
  207. 0000029E  49ED FF80                lea.l      A4, [A5 - 0x80]
  208. 000002A2  3A2E FFFC                move.w     D5, [A6 - 0x4]
  209. 000002A6  9A6E FFF8                sub.w      D5, [A6 - 0x8]
  210. 000002AA  3985 6004                move.w     [A4 + D6.w + 0x4], D5
  211. 000002AE  BE6E FFF2                cmp.w      D7, [A6 - 0xE]
  212. 000002B2  6C00 000C                bge        +0xE /* 000002C0 */
  213. 000002B6  5247                     addq.w     D7, 1
  214. 000002B8  3D47 FFF4                move.w     [A6 - 0xC], D7
  215. 000002BC  4EFA FFBC                jmp        [PC - 0x44 /* 0000027A */]
  216. label000002C0:
  217. 000002C0  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  218. 000002C4  4E5E                     unlink     A6
  219. 000002C6  4E75                     rts
  220. fn000002C8:
  221. 000002C8  4E56 FFF0                link       A6, -0x0010
  222. 000002CC  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  223. 000002D0  4A6D FF56                tst.w      [A5 - 0xAA]
  224. 000002D4  6700 00B0                beq        +0xB2 /* 00000386 */
  225. 000002D8  3E3C 0001                move.w     D7, 0x1
  226. 000002DC  3D47 FFFA                move.w     [A6 - 0x6], D7
  227. 000002E0  BE6D FF56                cmp.w      D7, [A5 - 0xAA]
  228. 000002E4  6E00 00A0                bgt        +0xA2 /* 00000386 */
  229. 000002E8  3D6D FF56 FFF0           move.w     [A6 - 0x10], [A5 - 0xAA]
  230. label000002EE:
  231. 000002EE  286D FF4A                movea.l    A4, [A5 - 0xB6]
  232. 000002F2  2854                     movea.l    A4, [A4]
  233. 000002F4  3C2C 000E                move.w     D6, [A4 + 0xE]
  234. 000002F8  9C6C 000A                sub.w      D6, [A4 + 0xA]
  235. 000002FC  3D46 FFFE                move.w     [A6 - 0x2], D6
  236. 00000300  3C07                     move.w     D6, D7
  237. 00000302  5346                     subq.w     D6, 1
  238. 00000304  E54E                     lsl        D6.w, 2
  239. 00000306  49ED FF58                lea.l      A4, [A5 - 0xA8]
  240. 0000030A  2874 6000                movea.l    A4, [A4 + D6.w]
  241. 0000030E  2854                     movea.l    A4, [A4]
  242. 00000310  2D6C 0002 FFF2           move.l     [A6 - 0xE], [A4 + 0x2]
  243. 00000316  2D6C 0006 FFF6           move.l     [A6 - 0xA], [A4 + 0x6]
  244. 0000031C  3C2E FFF8                move.w     D6, [A6 - 0x8]
  245. 00000320  9C6E FFF4                sub.w      D6, [A6 - 0xC]
  246. 00000324  3D46 FFFC                move.w     [A6 - 0x4], D6
  247. 00000328  3C07                     move.w     D6, D7
  248. 0000032A  5346                     subq.w     D6, 1
  249. 0000032C  CDFC 0006                muls.w     D6, 0x6
  250. 00000330  49ED FF80                lea.l      A4, [A5 - 0x80]
  251. 00000334  266D FF4A                movea.l    A3, [A5 - 0xB6]
  252. 00000338  2653                     movea.l    A3, [A3]
  253. 0000033A  3A2E FFFE                move.w     D5, [A6 - 0x2]
  254. 0000033E  9A6E FFFC                sub.w      D5, [A6 - 0x4]
  255. 00000342  48C5                     ext.l      D5
  256. 00000344  8BFC 0002                divs.w     D5, 0x2
  257. 00000348  DA6B 000A                add.w      D5, [A3 + 0xA]
  258. 0000034C  3985 6000                move.w     [A4 + D6.w], D5
  259. 00000350  3C07                     move.w     D6, D7
  260. 00000352  5346                     subq.w     D6, 1
  261. 00000354  CDFC 0006                muls.w     D6, 0x6
  262. 00000358  49ED FF80                lea.l      A4, [A5 - 0x80]
  263. 0000035C  3A07                     move.w     D5, D7
  264. 0000035E  5345                     subq.w     D5, 1
  265. 00000360  CBFC 0006                muls.w     D5, 0x6
  266. 00000364  47ED FF80                lea.l      A3, [A5 - 0x80]
  267. 00000368  3833 5000                move.w     D4, [A3 + D5.w]
  268. 0000036C  D86E FFFC                add.w      D4, [A6 - 0x4]
  269. 00000370  3984 6002                move.w     [A4 + D6.w + 0x2], D4
  270. 00000374  BE6E FFF0                cmp.w      D7, [A6 - 0x10]
  271. 00000378  6C00 000C                bge        +0xE /* 00000386 */
  272. 0000037C  5247                     addq.w     D7, 1
  273. 0000037E  3D47 FFFA                move.w     [A6 - 0x6], D7
  274. 00000382  4EFA FF6A                jmp        [PC - 0x96 /* 000002EE */]
  275. label00000386:
  276. 00000386  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  277. 0000038A  4E5E                     unlink     A6
  278. 0000038C  4E75                     rts
  279. fn0000038E:
  280. 0000038E  4E56 FFE2                link       A6, -0x001E
  281. 00000392  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  282. 00000396  4A6D FF56                tst.w      [A5 - 0xAA]
  283. 0000039A  6700 01B2                beq        +0x1B4 /* 0000054E */
  284. 0000039E  4A2E 0008                tst.b      [A6 + 0x8]
  285. 000003A2  6700 000E                beq        +0x10 /* 000003B2 */
  286. 000003A6  286D FF4A                movea.l    A4, [A5 - 0xB6]
  287. 000003AA  2854                     movea.l    A4, [A4]
  288. 000003AC  486C 0008                pea.l      [A4 + 0x8]
  289. 000003B0  A87B                     syscall    ClipRect
  290. label000003B2:
  291. 000003B2  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  292. 000003B6  4EBA 1D6C                jsr        [PC + 0x1D6C /* 00002124 */]
  293. 000003BA  286D FF4A                movea.l    A4, [A5 - 0xB6]
  294. 000003BE  2854                     movea.l    A4, [A4]
  295. 000003C0  558F                     subq.l     A7, 2
  296. 000003C2  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  297. 000003C6  A960                     syscall    GetControlValue/GetCtlValue
  298. 000003C8  3E1F                     move.w     D7, [A7]+
  299. 000003CA  3D47 FFFA                move.w     [A6 - 0x6], D7
  300. 000003CE  558F                     subq.l     A7, 2
  301. 000003D0  3E2C 000C                move.w     D7, [A4 + 0xC]
  302. 000003D4  9E6C 0008                sub.w      D7, [A4 + 0x8]
  303. 000003D8  48C7                     ext.l      D7
  304. 000003DA  8FEC 0018                divs.w     D7, [A4 + 0x18]
  305. 000003DE  DE6E FFFA                add.w      D7, [A6 - 0x6]
  306. 000003E2  5347                     subq.w     D7, 1
  307. 000003E4  3F07                     move.w     -[A7], D7
  308. 000003E6  3F2C 005E                move.w     -[A7], [A4 + 0x5E]
  309. 000003EA  4EBA FC52                jsr        [PC - 0x3AE /* 0000003E */]
  310. 000003EE  3E1F                     move.w     D7, [A7]+
  311. 000003F0  3D47 FFFC                move.w     [A6 - 0x4], D7
  312. 000003F4  2D7C FFFF FFFF FFF2      move.l     [A6 - 0xE], 0xFFFFFFFF
  313. 000003FC  3D7C FFFF FFFE           move.w     [A6 - 0x2], 0xFFFF
  314. 00000402  426E FFF6                clr.w      [A6 - 0xA]
  315. label00000406:
  316. 00000406  3E2E FFF6                move.w     D7, [A6 - 0xA]
  317. 0000040A  5247                     addq.w     D7, 1
  318. 0000040C  3D47 FFF6                move.w     [A6 - 0xA], D7
  319. 00000410  2E2E FFF2                move.l     D7, [A6 - 0xE]
  320. 00000414  5287                     addq.l     D7, 1
  321. 00000416  2D47 FFF2                move.l     [A6 - 0xE], D7
  322. 0000041A  598F                     subq.l     A7, 4
  323. 0000041C  266D FF4A                movea.l    A3, [A5 - 0xB6]
  324. 00000420  2653                     movea.l    A3, [A3]
  325. 00000422  2F2B 003E                move.l     -[A7], [A3 + 0x3E]
  326. 00000426  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  327. 0000042A  47ED FFBC                lea.l      A3, [A5 - 0x44]
  328. 0000042E  2E0B                     move.l     D7, A3
  329. 00000430  5287                     addq.l     D7, 1
  330. 00000432  2F07                     move.l     -[A7], D7
  331. 00000434  2F3C 0000 0001           move.l     -[A7], 0x1
  332. 0000043A  42A7                     clr.l      -[A7]
  333. 0000043C  2F3C 0000 0001           move.l     -[A7], 0x1
  334. 00000442  A9E0                     syscall    Munger
  335. 00000444  2E1F                     move.l     D7, [A7]+
  336. 00000446  2D47 FFF2                move.l     [A6 - 0xE], D7
  337. label0000044A:
  338. 0000044A  3E2E FFFE                move.w     D7, [A6 - 0x2]
  339. 0000044E  5247                     addq.w     D7, 1
  340. 00000450  3D47 FFFE                move.w     [A6 - 0x2], D7
  341. 00000454  3E2E FFFE                move.w     D7, [A6 - 0x2]
  342. 00000458  DE47                     add.w      D7, D7
  343. 0000045A  47EC 0060                lea.l      A3, [A4 + 0x60]
  344. 0000045E  3C33 7000                move.w     D6, [A3 + D7.w]
  345. 00000462  48C6                     ext.l      D6
  346. 00000464  BCAE FFF2                cmp.l      D6, [A6 - 0xE]
  347. 00000468  6D00 FFE0                blt        -0x1E /* 0000044A */
  348. 0000046C  3E2E FFF6                move.w     D7, [A6 - 0xA]
  349. 00000470  5347                     subq.w     D7, 1
  350. 00000472  E54F                     lsl        D7.w, 2
  351. 00000474  47ED FF58                lea.l      A3, [A5 - 0xA8]
  352. 00000478  2F33 7000                move.l     -[A7], [A3 + D7.w]
  353. 0000047C  4EBA 1CA6                jsr        [PC + 0x1CA6 /* 00002124 */]
  354. 00000480  3E2E FFFE                move.w     D7, [A6 - 0x2]
  355. 00000484  9E6E FFFA                sub.w      D7, [A6 - 0x6]
  356. 00000488  CFEC 0018                muls.w     D7, [A4 + 0x18]
  357. 0000048C  3D47 FFF8                move.w     [A6 - 0x8], D7
  358. 00000490  486E FFE2                pea.l      [A6 - 0x1E]
  359. 00000494  3E2E FFF6                move.w     D7, [A6 - 0xA]
  360. 00000498  5347                     subq.w     D7, 1
  361. 0000049A  CFFC 0006                muls.w     D7, 0x6
  362. 0000049E  47ED FF80                lea.l      A3, [A5 - 0x80]
  363. 000004A2  3F33 7000                move.w     -[A7], [A3 + D7.w]
  364. 000004A6  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  365. 000004AA  3E2E FFF6                move.w     D7, [A6 - 0xA]
  366. 000004AE  5347                     subq.w     D7, 1
  367. 000004B0  CFFC 0006                muls.w     D7, 0x6
  368. 000004B4  47ED FF80                lea.l      A3, [A5 - 0x80]
  369. 000004B8  3F33 7002                move.w     -[A7], [A3 + D7.w + 0x2]
  370. 000004BC  3E2E FFF6                move.w     D7, [A6 - 0xA]
  371. 000004C0  5347                     subq.w     D7, 1
  372. 000004C2  CFFC 0006                muls.w     D7, 0x6
  373. 000004C6  47ED FF80                lea.l      A3, [A5 - 0x80]
  374. 000004CA  3C2E FFF8                move.w     D6, [A6 - 0x8]
  375. 000004CE  DC73 7004                add.w      D6, [A3 + D7.w + 0x4]
  376. 000004D2  3F06                     move.w     -[A7], D6
  377. 000004D4  A8A7                     syscall    SetRect
  378. 000004D6  558F                     subq.l     A7, 2
  379. 000004D8  486E FFE2                pea.l      [A6 - 0x1E]
  380. 000004DC  486C 0008                pea.l      [A4 + 0x8]
  381. 000004E0  486E FFEA                pea.l      [A6 - 0x16]
  382. 000004E4  A8AA                     syscall    SectRect
  383. 000004E6  1E1F                     move.b     D7, [A7]+
  384. 000004E8  6700 0018                beq        +0x1A /* 00000502 */
  385. 000004EC  3E2E FFF6                move.w     D7, [A6 - 0xA]
  386. 000004F0  5347                     subq.w     D7, 1
  387. 000004F2  E54F                     lsl        D7.w, 2
  388. 000004F4  47ED FF58                lea.l      A3, [A5 - 0xA8]
  389. 000004F8  2F33 7000                move.l     -[A7], [A3 + D7.w]
  390. 000004FC  486E FFE2                pea.l      [A6 - 0x1E]
  391. 00000500  A8F6                     syscall    DrawPicture
  392. label00000502:
  393. 00000502  3E2E FFF6                move.w     D7, [A6 - 0xA]
  394. 00000506  5347                     subq.w     D7, 1
  395. 00000508  E54F                     lsl        D7.w, 2
  396. 0000050A  47ED FF58                lea.l      A3, [A5 - 0xA8]
  397. 0000050E  2F33 7000                move.l     -[A7], [A3 + D7.w]
  398. 00000512  4EBA 1C1A                jsr        [PC + 0x1C1A /* 0000212E */]
  399. 00000516  3E2E FFF6                move.w     D7, [A6 - 0xA]
  400. 0000051A  BE6D FF56                cmp.w      D7, [A5 - 0xAA]
  401. 0000051E  57C7                     seq        D7
  402. 00000520  4407                     neg.b      D7
  403. 00000522  3C2E FFFE                move.w     D6, [A6 - 0x2]
  404. 00000526  BC6E FFFC                cmp.w      D6, [A6 - 0x4]
  405. 0000052A  5CC6                     sge        D6
  406. 0000052C  4406                     neg.b      D6
  407. 0000052E  8C07                     or.b       D6, D7
  408. 00000530  6700 FED4                beq        -0x12A /* 00000406 */
  409. 00000534  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  410. 00000538  4EBA 1BF4                jsr        [PC + 0x1BF4 /* 0000212E */]
  411. 0000053C  4A2E 0008                tst.b      [A6 + 0x8]
  412. 00000540  6700 000C                beq        +0xE /* 0000054E */
  413. 00000544  286D FF2E                movea.l    A4, [A5 - 0xD2]
  414. 00000548  486C 0010                pea.l      [A4 + 0x10]
  415. 0000054C  A87B                     syscall    ClipRect
  416. label0000054E:
  417. 0000054E  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  418. 00000552  4E5E                     unlink     A6
  419. 00000554  205F                     movea.l    A0, [A7]+
  420. 00000556  548F                     addq.l     A7, 2
  421. 00000558  4ED0                     jmp        [A0]
  422. fn0000055A:
  423. 0000055A  4E56 FFFC                link       A6, -0x0004
  424. 0000055E  48E7 0108                movem.l    -[A7], D7,A4
  425. 00000562  286D FF4A                movea.l    A4, [A5 - 0xB6]
  426. 00000566  2854                     movea.l    A4, [A4]
  427. 00000568  3E2C 000C                move.w     D7, [A4 + 0xC]
  428. 0000056C  9E6C 0008                sub.w      D7, [A4 + 0x8]
  429. 00000570  48C7                     ext.l      D7
  430. 00000572  8FEC 0018                divs.w     D7, [A4 + 0x18]
  431. 00000576  3D47 FFFE                move.w     [A6 - 0x2], D7
  432. 0000057A  3E2C 005E                move.w     D7, [A4 + 0x5E]
  433. 0000057E  9E6E FFFE                sub.w      D7, [A6 - 0x2]
  434. 00000582  3D47 FFFC                move.w     [A6 - 0x4], D7
  435. 00000586  0C6E 0000 FFFC           cmpi.w     [A6 - 0x4], 0x0
  436. 0000058C  6C00 0014                bge        +0x16 /* 000005A2 */
  437. 00000590  426E FFFC                clr.w      [A6 - 0x4]
  438. 00000594  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  439. 00000598  3F3C 00FF                move.w     -[A7], 0xFF
  440. 0000059C  A95D                     syscall    HiliteControl
  441. 0000059E  4EFA 000A                jmp        [PC + 0xA /* 000005AA */]
  442. label000005A2:
  443. 000005A2  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  444. 000005A6  4267                     clr.w      -[A7]
  445. 000005A8  A95D                     syscall    HiliteControl
  446. label000005AA:
  447. 000005AA  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  448. 000005AE  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  449. 000005B2  A965                     syscall    SetControlMaximum/SetMaxCtl
  450. 000005B4  4CDF 1080                movem.l    D7,A4, [A7]+
  451. 000005B8  4E5E                     unlink     A6
  452. 000005BA  4E75                     rts
  453. fn000005BC:
  454. 000005BC  4E56 0000                link       A6, 0
  455. 000005C0  48E7 0108                movem.l    -[A7], D7,A4
  456. 000005C4  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  457. 000005C8  A958                     syscall    HideControl
  458. 000005CA  286D FF2E                movea.l    A4, [A5 - 0xD2]
  459. 000005CE  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  460. 000005D2  3E2C 0016                move.w     D7, [A4 + 0x16]
  461. 000005D6  0447 000F                subi.w     D7, 0xF
  462. 000005DA  3F07                     move.w     -[A7], D7
  463. 000005DC  3E2C 0010                move.w     D7, [A4 + 0x10]
  464. 000005E0  5347                     subq.w     D7, 1
  465. 000005E2  3F07                     move.w     -[A7], D7
  466. 000005E4  A959                     syscall    MoveControl
  467. 000005E6  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  468. 000005EA  3F3C 0010                move.w     -[A7], 0x10
  469. 000005EE  3E2C 0014                move.w     D7, [A4 + 0x14]
  470. 000005F2  9E6C 0010                sub.w      D7, [A4 + 0x10]
  471. 000005F6  0447 000D                subi.w     D7, 0xD /* '\r' */
  472. 000005FA  3F07                     move.w     -[A7], D7
  473. 000005FC  A95C                     syscall    SizeControl
  474. 000005FE  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  475. 00000602  A957                     syscall    ShowControl
  476. 00000604  286D FF4E                movea.l    A4, [A5 - 0xB2]
  477. 00000608  2854                     movea.l    A4, [A4]
  478. 0000060A  486C 0008                pea.l      [A4 + 0x8]
  479. 0000060E  A92A                     syscall    ValidRect
  480. 00000610  4CDF 1080                movem.l    D7,A4, [A7]+
  481. 00000614  4E5E                     unlink     A6
  482. 00000616  4E75                     rts
  483. fn00000618:
  484. 00000618  4E56 FFF6                link       A6, -0x000A
  485. 0000061C  48E7 0308                movem.l    -[A7], D6,D7,A4
  486. 00000620  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  487. 00000624  4EBA 1AFE                jsr        [PC + 0x1AFE /* 00002124 */]
  488. 00000628  286D FF4A                movea.l    A4, [A5 - 0xB6]
  489. 0000062C  2854                     movea.l    A4, [A4]
  490. 0000062E  3E2C 0008                move.w     D7, [A4 + 0x8]
  491. 00000632  9E54                     sub.w      D7, [A4]
  492. 00000634  558F                     subq.l     A7, 2
  493. 00000636  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  494. 0000063A  A960                     syscall    GetControlValue/GetCtlValue
  495. 0000063C  3C1F                     move.w     D6, [A7]+
  496. 0000063E  CDEC 0018                muls.w     D6, [A4 + 0x18]
  497. 00000642  9E46                     sub.w      D7, D6
  498. 00000644  3D47 FFFE                move.w     [A6 - 0x2], D7
  499. 00000648  4267                     clr.w      -[A7]
  500. 0000064A  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  501. 0000064E  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  502. 00000652  A9DD                     syscall    TEScroll
  503. 00000654  0C6D 0000 FF56           cmpi.w     [A5 - 0xAA], 0x0
  504. 0000065A  6F00 0072                ble        +0x74 /* 000006CE */
  505. 0000065E  286D FF4A                movea.l    A4, [A5 - 0xB6]
  506. 00000662  2854                     movea.l    A4, [A4]
  507. 00000664  0C6E 0000 FFFE           cmpi.w     [A6 - 0x2], 0x0
  508. 0000066A  6F00 0030                ble        +0x32 /* 0000069C */
  509. 0000066E  486E FFF6                pea.l      [A6 - 0xA]
  510. 00000672  3F2C 000A                move.w     -[A7], [A4 + 0xA]
  511. 00000676  3F2C 0008                move.w     -[A7], [A4 + 0x8]
  512. 0000067A  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  513. 0000067E  558F                     subq.l     A7, 2
  514. 00000680  3E2C 0008                move.w     D7, [A4 + 0x8]
  515. 00000684  DE6E FFFE                add.w      D7, [A6 - 0x2]
  516. 00000688  3F07                     move.w     -[A7], D7
  517. 0000068A  3F2C 000C                move.w     -[A7], [A4 + 0xC]
  518. 0000068E  4EBA F9AE                jsr        [PC - 0x652 /* 0000003E */]
  519. 00000692  3E1F                     move.w     D7, [A7]+
  520. 00000694  3F07                     move.w     -[A7], D7
  521. 00000696  A8A7                     syscall    SetRect
  522. 00000698  4EFA 001E                jmp        [PC + 0x1E /* 000006B8 */]
  523. label0000069C:
  524. 0000069C  486E FFF6                pea.l      [A6 - 0xA]
  525. 000006A0  3F2C 000A                move.w     -[A7], [A4 + 0xA]
  526. 000006A4  3E2C 000C                move.w     D7, [A4 + 0xC]
  527. 000006A8  DE6E FFFE                add.w      D7, [A6 - 0x2]
  528. 000006AC  3F07                     move.w     -[A7], D7
  529. 000006AE  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  530. 000006B2  3F2C 000C                move.w     -[A7], [A4 + 0xC]
  531. 000006B6  A8A7                     syscall    SetRect
  532. label000006B8:
  533. 000006B8  486E FFF6                pea.l      [A6 - 0xA]
  534. 000006BC  A87B                     syscall    ClipRect
  535. 000006BE  4227                     clr.b      -[A7]
  536. 000006C0  4EBA FCCC                jsr        [PC - 0x334 /* 0000038E */]
  537. 000006C4  286D FF2E                movea.l    A4, [A5 - 0xD2]
  538. 000006C8  486C 0010                pea.l      [A4 + 0x10]
  539. 000006CC  A87B                     syscall    ClipRect
  540. label000006CE:
  541. 000006CE  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  542. 000006D2  4EBA 1A5A                jsr        [PC + 0x1A5A /* 0000212E */]
  543. 000006D6  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  544. 000006DA  4E5E                     unlink     A6
  545. 000006DC  4E75                     rts
  546. fn000006DE:
  547. 000006DE  4E56 FFFC                link       A6, -0x0004
  548. 000006E2  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  549. 000006E6  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  550. 000006EA  4EBA 1A38                jsr        [PC + 0x1A38 /* 00002124 */]
  551. 000006EE  286D FF4A                movea.l    A4, [A5 - 0xB6]
  552. 000006F2  2854                     movea.l    A4, [A4]
  553. 000006F4  426E FFFC                clr.w      [A6 - 0x4]
  554. label000006F8:
  555. 000006F8  3E2E FFFC                move.w     D7, [A6 - 0x4]
  556. 000006FC  5247                     addq.w     D7, 1
  557. 000006FE  DE47                     add.w      D7, D7
  558. 00000700  47EC 0060                lea.l      A3, [A4 + 0x60]
  559. 00000704  3C33 7000                move.w     D6, [A3 + D7.w]
  560. 00000708  BC6E 0008                cmp.w      D6, [A6 + 0x8]
  561. 0000070C  6E00 0010                bgt        +0x12 /* 0000071E */
  562. 00000710  3E2E FFFC                move.w     D7, [A6 - 0x4]
  563. 00000714  5247                     addq.w     D7, 1
  564. 00000716  3D47 FFFC                move.w     [A6 - 0x4], D7
  565. 0000071A  4EFA FFDC                jmp        [PC - 0x24 /* 000006F8 */]
  566. label0000071E:
  567. 0000071E  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  568. 00000722  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  569. 00000726  A963                     syscall    SetControlValue/SetCtlValue
  570. 00000728  4EBA FEEE                jsr        [PC - 0x112 /* 00000618 */]
  571. 0000072C  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  572. 00000730  4EBA 19FC                jsr        [PC + 0x19FC /* 0000212E */]
  573. 00000734  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  574. 00000738  4E5E                     unlink     A6
  575. 0000073A  205F                     movea.l    A0, [A7]+
  576. 0000073C  548F                     addq.l     A7, 2
  577. 0000073E  4ED0                     jmp        [A0]
  578. fn00000740:
  579. 00000740  4E56 FFFA                link       A6, -0x0006
  580. 00000744  48E7 0118                movem.l    -[A7], D7,A3,A4
  581. 00000748  286D FF52                movea.l    A4, [A5 - 0xAE]
  582. 0000074C  2854                     movea.l    A4, [A4]
  583. 0000074E  2F0C                     move.l     -[A7], A4
  584. 00000750  A851                     syscall    SetCursor
  585. 00000752  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  586. 00000756  4EBA 19CC                jsr        [PC + 0x19CC /* 00002124 */]
  587. 0000075A  286D FF4A                movea.l    A4, [A5 - 0xB6]
  588. 0000075E  2854                     movea.l    A4, [A4]
  589. 00000760  558F                     subq.l     A7, 2
  590. 00000762  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  591. 00000766  A960                     syscall    GetControlValue/GetCtlValue
  592. 00000768  3E1F                     move.w     D7, [A7]+
  593. 0000076A  3D47 FFFA                move.w     [A6 - 0x6], D7
  594. 0000076E  3E2E FFFA                move.w     D7, [A6 - 0x6]
  595. 00000772  DE47                     add.w      D7, D7
  596. 00000774  47EC 0060                lea.l      A3, [A4 + 0x60]
  597. 00000778  3D73 7000 FFFC           move.w     [A6 - 0x4], [A3 + D7.w]
  598. 0000077E  266D FF2E                movea.l    A3, [A5 - 0xD2]
  599. 00000782  296B 0010 0008           move.l     [A4 + 0x8], [A3 + 0x10]
  600. 00000788  296B 0014 000C           move.l     [A4 + 0xC], [A3 + 0x14]
  601. 0000078E  3E2C 000E                move.w     D7, [A4 + 0xE]
  602. 00000792  0447 000F                subi.w     D7, 0xF
  603. 00000796  3947 000E                move.w     [A4 + 0xE], D7
  604. 0000079A  3E2C 000C                move.w     D7, [A4 + 0xC]
  605. 0000079E  0447 000F                subi.w     D7, 0xF
  606. 000007A2  3947 000C                move.w     [A4 + 0xC], D7
  607. 000007A6  3E2C 000C                move.w     D7, [A4 + 0xC]
  608. 000007AA  48C7                     ext.l      D7
  609. 000007AC  8FEC 0018                divs.w     D7, [A4 + 0x18]
  610. 000007B0  CFEC 0018                muls.w     D7, [A4 + 0x18]
  611. 000007B4  3947 000C                move.w     [A4 + 0xC], D7
  612. 000007B8  28AC 0008                move.l     [A4], [A4 + 0x8]
  613. 000007BC  296C 000C 0004           move.l     [A4 + 0x4], [A4 + 0xC]
  614. 000007C2  2F0C                     move.l     -[A7], A4
  615. 000007C4  3F3C 0004                move.w     -[A7], 0x4
  616. 000007C8  3F3C 0004                move.w     -[A7], 0x4
  617. 000007CC  A8A9                     syscall    InsetRect
  618. 000007CE  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  619. 000007D2  A9D0                     syscall    TECalText
  620. 000007D4  4EBA FD84                jsr        [PC - 0x27C /* 0000055A */]
  621. 000007D8  4EBA FAEE                jsr        [PC - 0x512 /* 000002C8 */]
  622. 000007DC  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  623. 000007E0  4EBA FEFC                jsr        [PC - 0x104 /* 000006DE */]
  624. 000007E4  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  625. 000007E8  4EBA 1944                jsr        [PC + 0x1944 /* 0000212E */]
  626. 000007EC  A850                     syscall    InitCursor
  627. 000007EE  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  628. 000007F2  4E5E                     unlink     A6
  629. 000007F4  4E75                     rts
  630. 000007F6  4E56 FFFC                link       A6, -0x0004
  631. 000007FA  48E7 0308                movem.l    -[A7], D6,D7,A4
  632. 000007FE  1D7C 0001 FFFC           move.b     [A6 - 0x4], 0x1
  633. 00000804  4EFA 00AE                jmp        [PC + 0xAE /* 000008B4 */]
  634. label00000808:
  635. 00000808  558F                     subq.l     A7, 2
  636. 0000080A  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  637. 0000080E  A960                     syscall    GetControlValue/GetCtlValue
  638. 00000810  3E1F                     move.w     D7, [A7]+
  639. 00000812  5347                     subq.w     D7, 1
  640. 00000814  3D47 FFFE                move.w     [A6 - 0x2], D7
  641. 00000818  558F                     subq.l     A7, 2
  642. 0000081A  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  643. 0000081E  A961                     syscall    GetControlMinimum/GetMinCtl
  644. 00000820  3E1F                     move.w     D7, [A7]+
  645. 00000822  3C2E FFFE                move.w     D6, [A6 - 0x2]
  646. 00000826  BC47                     cmp.w      D6, D7
  647. 00000828  5CC7                     sge        D7
  648. 0000082A  4407                     neg.b      D7
  649. 0000082C  1D47 FFFC                move.b     [A6 - 0x4], D7
  650. 00000830  4EFA 00A6                jmp        [PC + 0xA6 /* 000008D8 */]
  651. label00000834:
  652. 00000834  558F                     subq.l     A7, 2
  653. 00000836  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  654. 0000083A  A960                     syscall    GetControlValue/GetCtlValue
  655. 0000083C  3E1F                     move.w     D7, [A7]+
  656. 0000083E  5247                     addq.w     D7, 1
  657. 00000840  3D47 FFFE                move.w     [A6 - 0x2], D7
  658. 00000844  558F                     subq.l     A7, 2
  659. 00000846  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  660. 0000084A  A962                     syscall    GetControlMaximum/GetMaxCtl
  661. 0000084C  3E1F                     move.w     D7, [A7]+
  662. 0000084E  3C2E FFFE                move.w     D6, [A6 - 0x2]
  663. 00000852  BC47                     cmp.w      D6, D7
  664. 00000854  5FC7                     sle        D7
  665. 00000856  4407                     neg.b      D7
  666. 00000858  1D47 FFFC                move.b     [A6 - 0x4], D7
  667. 0000085C  4EFA 007A                jmp        [PC + 0x7A /* 000008D8 */]
  668. label00000860:
  669. 00000860  286D FF4A                movea.l    A4, [A5 - 0xB6]
  670. 00000864  2854                     movea.l    A4, [A4]
  671. 00000866  558F                     subq.l     A7, 2
  672. 00000868  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  673. 0000086C  A960                     syscall    GetControlValue/GetCtlValue
  674. 0000086E  3E1F                     move.w     D7, [A7]+
  675. 00000870  3C2C 0008                move.w     D6, [A4 + 0x8]
  676. 00000874  9C6C 000C                sub.w      D6, [A4 + 0xC]
  677. 00000878  48C6                     ext.l      D6
  678. 0000087A  8DEC 0018                divs.w     D6, [A4 + 0x18]
  679. 0000087E  5246                     addq.w     D6, 1
  680. 00000880  DC47                     add.w      D6, D7
  681. 00000882  3D46 FFFE                move.w     [A6 - 0x2], D6
  682. 00000886  4EFA 0050                jmp        [PC + 0x50 /* 000008D8 */]
  683. label0000088A:
  684. 0000088A  286D FF4A                movea.l    A4, [A5 - 0xB6]
  685. 0000088E  2854                     movea.l    A4, [A4]
  686. 00000890  558F                     subq.l     A7, 2
  687. 00000892  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  688. 00000896  A960                     syscall    GetControlValue/GetCtlValue
  689. 00000898  3E1F                     move.w     D7, [A7]+
  690. 0000089A  3C2C 000C                move.w     D6, [A4 + 0xC]
  691. 0000089E  9C6C 0008                sub.w      D6, [A4 + 0x8]
  692. 000008A2  48C6                     ext.l      D6
  693. 000008A4  8DEC 0018                divs.w     D6, [A4 + 0x18]
  694. 000008A8  5346                     subq.w     D6, 1
  695. 000008AA  DC47                     add.w      D6, D7
  696. 000008AC  3D46 FFFE                move.w     [A6 - 0x2], D6
  697. 000008B0  4EFA 0026                jmp        [PC + 0x26 /* 000008D8 */]
  698. label000008B4:
  699. 000008B4  3E2E 0008                move.w     D7, [A6 + 0x8]
  700. 000008B8  0C47 0014                cmpi.w     D7, 0x14
  701. 000008BC  6700 FF4A                beq        -0xB4 /* 00000808 */
  702. 000008C0  0C47 0015                cmpi.w     D7, 0x15
  703. 000008C4  6700 FF6E                beq        -0x90 /* 00000834 */
  704. 000008C8  0C47 0016                cmpi.w     D7, 0x16
  705. 000008CC  6700 FF92                beq        -0x6C /* 00000860 */
  706. 000008D0  0C47 0017                cmpi.w     D7, 0x17
  707. 000008D4  6700 FFB4                beq        -0x4A /* 0000088A */
  708. label000008D8:
  709. 000008D8  4A6E 0008                tst.w      [A6 + 0x8]
  710. 000008DC  56C7                     sne        D7
  711. 000008DE  4407                     neg.b      D7
  712. 000008E0  CE2E FFFC                and.b      D7, [A6 - 0x4]
  713. 000008E4  6700 0010                beq        +0x12 /* 000008F6 */
  714. 000008E8  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  715. 000008EC  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  716. 000008F0  A963                     syscall    SetControlValue/SetCtlValue
  717. 000008F2  4EBA FD24                jsr        [PC - 0x2DC /* 00000618 */]
  718. label000008F6:
  719. 000008F6  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  720. 000008FA  4E5E                     unlink     A6
  721. 000008FC  205F                     movea.l    A0, [A7]+
  722. 000008FE  5C8F                     addq.l     A7, 6
  723. 00000900  4ED0                     jmp        [A0]
  724. fn00000902:
  725. 00000902  4E56 0000                link       A6, 0
  726. 00000906  48E7 0108                movem.l    -[A7], D7,A4
  727. 0000090A  0C6E 0081 000C           cmpi.w     [A6 + 0xC], 0x81
  728. 00000910  6600 001E                bne        +0x20 /* 00000930 */
  729. 00000914  558F                     subq.l     A7, 2
  730. 00000916  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  731. 0000091A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  732. 0000091E  42A7                     clr.l      -[A7]
  733. 00000920  A968                     syscall    TrackControl
  734. 00000922  3E1F                     move.w     D7, [A7]+
  735. 00000924  3D47 000C                move.w     [A6 + 0xC], D7
  736. 00000928  4EBA FCEE                jsr        [PC - 0x312 /* 00000618 */]
  737. 0000092C  4EFA 001A                jmp        [PC + 0x1A /* 00000948 */]
  738. label00000930:
  739. 00000930  558F                     subq.l     A7, 2
  740. 00000932  2F2D FF4E                move.l     -[A7], [A5 - 0xB2]
  741. 00000936  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  742. 0000093A  49FA FEBA                lea.l      A4, [PC - 0x146 /* 000007F6, value 0x4E56FFFC */]
  743. 0000093E  2F0C                     move.l     -[A7], A4
  744. 00000940  A968                     syscall    TrackControl
  745. 00000942  3E1F                     move.w     D7, [A7]+
  746. 00000944  3D47 000C                move.w     [A6 + 0xC], D7
  747. label00000948:
  748. 00000948  4CDF 1080                movem.l    D7,A4, [A7]+
  749. 0000094C  4E5E                     unlink     A6
  750. 0000094E  205F                     movea.l    A0, [A7]+
  751. 00000950  5C8F                     addq.l     A7, 6
  752. 00000952  4ED0                     jmp        [A0]
  753. fn00000954:
  754. 00000954  4E56 0000                link       A6, 0
  755. 00000958  48E7 0118                movem.l    -[A7], D7,A3,A4
  756. 0000095C  286D FF4A                movea.l    A4, [A5 - 0xB6]
  757. 00000960  2854                     movea.l    A4, [A4]
  758. 00000962  266D FFBE                movea.l    A3, [A5 - 0x42]
  759. 00000966  2653                     movea.l    A3, [A3]
  760. 00000968  3E2B 0008                move.w     D7, [A3 + 0x8]
  761. 0000096C  0647 0048                addi.w     D7, 0x48 /* 'H' */
  762. 00000970  3B47 FF32                move.w     [A5 - 0xCE], D7
  763. 00000974  3E2B 000A                move.w     D7, [A3 + 0xA]
  764. 00000978  0647 003C                addi.w     D7, 0x3C /* '<' */
  765. 0000097C  3B47 FF34                move.w     [A5 - 0xCC], D7
  766. 00000980  3E2B 000E                move.w     D7, [A3 + 0xE]
  767. 00000984  0447 003C                subi.w     D7, 0x3C /* '<' */
  768. 00000988  3B47 FF38                move.w     [A5 - 0xC8], D7
  769. 0000098C  3E2B 000C                move.w     D7, [A3 + 0xC]
  770. 00000990  9E6D FF32                sub.w      D7, [A5 - 0xCE]
  771. 00000994  0447 0048                subi.w     D7, 0x48 /* 'H' */
  772. 00000998  48C7                     ext.l      D7
  773. 0000099A  8FEC 0018                divs.w     D7, [A4 + 0x18]
  774. 0000099E  CFEC 0018                muls.w     D7, [A4 + 0x18]
  775. 000009A2  DE6D FF32                add.w      D7, [A5 - 0xCE]
  776. 000009A6  3B47 FF36                move.w     [A5 - 0xCA], D7
  777. 000009AA  3E2D FF36                move.w     D7, [A5 - 0xCA]
  778. 000009AE  9E6D FF32                sub.w      D7, [A5 - 0xCE]
  779. 000009B2  48C7                     ext.l      D7
  780. 000009B4  8FEC 0018                divs.w     D7, [A4 + 0x18]
  781. 000009B8  3B47 FFC8                move.w     [A5 - 0x38], D7
  782. 000009BC  3E2D FF38                move.w     D7, [A5 - 0xC8]
  783. 000009C0  9E6D FF34                sub.w      D7, [A5 - 0xCC]
  784. 000009C4  3B47 FFC6                move.w     [A5 - 0x3A], D7
  785. 000009C8  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  786. 000009CC  4E5E                     unlink     A6
  787. 000009CE  4E75                     rts
  788. fn000009D0:
  789. 000009D0  4E56 FFFE                link       A6, -0x0002
  790. 000009D4  48E7 0100                movem.l    -[A7], D7
  791. 000009D8  A850                     syscall    InitCursor
  792. 000009DA  4EBA 1A0E                jsr        [PC + 0x1A0E /* 000023EA */]
  793. 000009DE  558F                     subq.l     A7, 2
  794. 000009E0  4EBA 1A58                jsr        [PC + 0x1A58 /* 0000243A */]
  795. 000009E4  3E1F                     move.w     D7, [A7]+
  796. 000009E6  4A47                     tst.w      D7
  797. 000009E8  6600 003C                bne        +0x3E /* 00000A26 */
  798. 000009EC  558F                     subq.l     A7, 2
  799. 000009EE  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  800. 000009F2  4EBA 191C                jsr        [PC + 0x191C /* 00002310 */]
  801. 000009F6  1E1F                     move.b     D7, [A7]+
  802. 000009F8  1D47 FFFE                move.b     [A6 - 0x2], D7
  803. 000009FC  558F                     subq.l     A7, 2
  804. 000009FE  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  805. 00000A02  4EBA 18E4                jsr        [PC + 0x18E4 /* 000022E8 */]
  806. 00000A06  1E1F                     move.b     D7, [A7]+
  807. 00000A08  1D47 FFFE                move.b     [A6 - 0x2], D7
  808. 00000A0C  4A2E FFFE                tst.b      [A6 - 0x2]
  809. 00000A10  6700 000C                beq        +0xE /* 00000A1E */
  810. 00000A14  1B7C 0001 FF2A           move.b     [A5 - 0xD6], 0x1
  811. 00000A1A  4EFA 0006                jmp        [PC + 0x6 /* 00000A22 */]
  812. label00000A1E:
  813. 00000A1E  422D FF2A                clr.b      [A5 - 0xD6]
  814. label00000A22:
  815. 00000A22  4EFA 0008                jmp        [PC + 0x8 /* 00000A2C */]
  816. label00000A26:
  817. 00000A26  3F3C 0001                move.w     -[A7], 0x1
  818. 00000A2A  A9C8                     syscall    SysBeep
  819. label00000A2C:
  820. 00000A2C  4EBA 19C4                jsr        [PC + 0x19C4 /* 000023F2 */]
  821. 00000A30  4CDF 0080                movem.l    D7, [A7]+
  822. 00000A34  4E5E                     unlink     A6
  823. 00000A36  4E75                     rts
  824. fn00000A38:
  825. 00000A38  4E56 FE78                link       A6, -0x0188
  826. 00000A3C  48E7 0F38                movem.l    -[A7], D4,D5,D6,D7,A2,A3,A4
  827. 00000A40  1E2D FF2A                move.b     D7, [A5 - 0xD6]
  828. 00000A44  0A07 0001                xori.b     D7, 0x1
  829. 00000A48  6700 0006                beq        +0x8 /* 00000A50 */
  830. 00000A4C  4EBA FF82                jsr        [PC - 0x7E /* 000009D0 */]
  831. label00000A50:
  832. 00000A50  A850                     syscall    InitCursor
  833. 00000A52  486E FFF8                pea.l      [A6 - 0x8]
  834. 00000A56  A874                     syscall    GetPort
  835. 00000A58  4EBA 1990                jsr        [PC + 0x1990 /* 000023EA */]
  836. 00000A5C  558F                     subq.l     A7, 2
  837. 00000A5E  4EBA 19DA                jsr        [PC + 0x19DA /* 0000243A */]
  838. 00000A62  3E1F                     move.w     D7, [A7]+
  839. 00000A64  4A47                     tst.w      D7
  840. 00000A66  57C7                     seq        D7
  841. 00000A68  4407                     neg.b      D7
  842. 00000A6A  CE2D FF2A                and.b      D7, [A5 - 0xD6]
  843. 00000A6E  6700 04C0                beq        +0x4C2 /* 00000F30 */
  844. 00000A72  558F                     subq.l     A7, 2
  845. 00000A74  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  846. 00000A78  4EBA 1876                jsr        [PC + 0x1876 /* 000022F0 */]
  847. 00000A7C  1E1F                     move.b     D7, [A7]+
  848. 00000A7E  6700 04B0                beq        +0x4B2 /* 00000F30 */
  849. 00000A82  286D FF52                movea.l    A4, [A5 - 0xAE]
  850. 00000A86  2854                     movea.l    A4, [A4]
  851. 00000A88  2F0C                     move.l     -[A7], A4
  852. 00000A8A  A851                     syscall    SetCursor
  853. 00000A8C  598F                     subq.l     A7, 4
  854. 00000A8E  3F3C 00C8                move.w     -[A7], 0xC8
  855. 00000A92  42A7                     clr.l      -[A7]
  856. 00000A94  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  857. 00000A9A  A97C                     syscall    GetNewDialog
  858. 00000A9C  2E1F                     move.l     D7, [A7]+
  859. 00000A9E  2D47 FFF4                move.l     [A6 - 0xC], D7
  860. 00000AA2  486E FFF4                pea.l      [A6 - 0xC]
  861. 00000AA6  1F3C 0001                move.b     -[A7], 0x1
  862. 00000AAA  4EBA F5C0                jsr        [PC - 0xA40 /* 0000006C */]
  863. 00000AAE  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  864. 00000AB2  A873                     syscall    SetPort
  865. 00000AB4  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  866. 00000AB8  A981                     syscall    DrawDialog
  867. 00000ABA  4EBA FE98                jsr        [PC - 0x168 /* 00000954 */]
  868. 00000ABE  286D FF4A                movea.l    A4, [A5 - 0xB6]
  869. 00000AC2  2854                     movea.l    A4, [A4]
  870. 00000AC4  2D54 FE88                move.l     [A6 - 0x178], [A4]
  871. 00000AC8  2D6C 0004 FE8C           move.l     [A6 - 0x174], [A4 + 0x4]
  872. 00000ACE  286D FF4A                movea.l    A4, [A5 - 0xB6]
  873. 00000AD2  2854                     movea.l    A4, [A4]
  874. 00000AD4  28AD FF32                move.l     [A4], [A5 - 0xCE]
  875. 00000AD8  296D FF36 0004           move.l     [A4 + 0x4], [A5 - 0xCA]
  876. 00000ADE  286D FF4A                movea.l    A4, [A5 - 0xB6]
  877. 00000AE2  2854                     movea.l    A4, [A4]
  878. 00000AE4  2D6C 0008 FE90           move.l     [A6 - 0x170], [A4 + 0x8]
  879. 00000AEA  2D6C 000C FE94           move.l     [A6 - 0x16C], [A4 + 0xC]
  880. 00000AF0  286D FF4A                movea.l    A4, [A5 - 0xB6]
  881. 00000AF4  2854                     movea.l    A4, [A4]
  882. 00000AF6  296D FF32 0008           move.l     [A4 + 0x8], [A5 - 0xCE]
  883. 00000AFC  296D FF36 000C           move.l     [A4 + 0xC], [A5 - 0xCA]
  884. 00000B02  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  885. 00000B06  A9D0                     syscall    TECalText
  886. 00000B08  286D FF4A                movea.l    A4, [A5 - 0xB6]
  887. 00000B0C  2854                     movea.l    A4, [A4]
  888. 00000B0E  3D6C 005E FFCA           move.w     [A6 - 0x36], [A4 + 0x5E]
  889. 00000B14  426E FFC8                clr.w      [A6 - 0x38]
  890. 00000B18  3D7C 0001 FFCC           move.w     [A6 - 0x34], 0x1
  891. 00000B1E  426E FF00                clr.w      [A6 - 0x100]
  892. label00000B22:
  893. 00000B22  3E2E FFC8                move.w     D7, [A6 - 0x38]
  894. 00000B26  BE6E FFCA                cmp.w      D7, [A6 - 0x36]
  895. 00000B2A  6C00 0096                bge        +0x98 /* 00000BC2 */
  896. 00000B2E  3E2E FFCA                move.w     D7, [A6 - 0x36]
  897. 00000B32  9E6E FFC8                sub.w      D7, [A6 - 0x38]
  898. 00000B36  BE6D FFC8                cmp.w      D7, [A5 - 0x38]
  899. 00000B3A  6F00 0040                ble        +0x42 /* 00000B7C */
  900. 00000B3E  3E2E FFCC                move.w     D7, [A6 - 0x34]
  901. 00000B42  DE47                     add.w      D7, D7
  902. 00000B44  49EE FF00                lea.l      A4, [A6 - 0x100]
  903. 00000B48  266D FF4A                movea.l    A3, [A5 - 0xB6]
  904. 00000B4C  2653                     movea.l    A3, [A3]
  905. 00000B4E  3C2E FFC8                move.w     D6, [A6 - 0x38]
  906. 00000B52  DC6D FFC8                add.w      D6, [A5 - 0x38]
  907. 00000B56  DC46                     add.w      D6, D6
  908. 00000B58  47EB 0060                lea.l      A3, [A3 + 0x60]
  909. 00000B5C  246D FF4A                movea.l    A2, [A5 - 0xB6]
  910. 00000B60  2452                     movea.l    A2, [A2]
  911. 00000B62  3A2E FFC8                move.w     D5, [A6 - 0x38]
  912. 00000B66  DA45                     add.w      D5, D5
  913. 00000B68  45EA 0060                lea.l      A2, [A2 + 0x60]
  914. 00000B6C  3833 6000                move.w     D4, [A3 + D6.w]
  915. 00000B70  9872 5000                sub.w      D4, [A2 + D5.w]
  916. 00000B74  3984 7000                move.w     [A4 + D7.w], D4
  917. 00000B78  4EFA 002E                jmp        [PC + 0x2E /* 00000BA8 */]
  918. label00000B7C:
  919. 00000B7C  3E2E FFCC                move.w     D7, [A6 - 0x34]
  920. 00000B80  DE47                     add.w      D7, D7
  921. 00000B82  49EE FF00                lea.l      A4, [A6 - 0x100]
  922. 00000B86  266D FF4A                movea.l    A3, [A5 - 0xB6]
  923. 00000B8A  2653                     movea.l    A3, [A3]
  924. 00000B8C  246D FF4A                movea.l    A2, [A5 - 0xB6]
  925. 00000B90  2452                     movea.l    A2, [A2]
  926. 00000B92  3C2E FFC8                move.w     D6, [A6 - 0x38]
  927. 00000B96  DC46                     add.w      D6, D6
  928. 00000B98  45EA 0060                lea.l      A2, [A2 + 0x60]
  929. 00000B9C  3A2B 003C                move.w     D5, [A3 + 0x3C]
  930. 00000BA0  9A72 6000                sub.w      D5, [A2 + D6.w]
  931. 00000BA4  3985 7000                move.w     [A4 + D7.w], D5
  932. label00000BA8:
  933. 00000BA8  3E2E FFC8                move.w     D7, [A6 - 0x38]
  934. 00000BAC  DE6D FFC8                add.w      D7, [A5 - 0x38]
  935. 00000BB0  3D47 FFC8                move.w     [A6 - 0x38], D7
  936. 00000BB4  3E2E FFCC                move.w     D7, [A6 - 0x34]
  937. 00000BB8  5247                     addq.w     D7, 1
  938. 00000BBA  3D47 FFCC                move.w     [A6 - 0x34], D7
  939. 00000BBE  4EFA FF62                jmp        [PC - 0x9E /* 00000B22 */]
  940. label00000BC2:
  941. 00000BC2  3E2E FFCC                move.w     D7, [A6 - 0x34]
  942. 00000BC6  5347                     subq.w     D7, 1
  943. 00000BC8  3D47 FFD2                move.w     [A6 - 0x2E], D7
  944. 00000BCC  4EBA F6FA                jsr        [PC - 0x906 /* 000002C8 */]
  945. 00000BD0  2D7C FFFF FFFF FEFC      move.l     [A6 - 0x104], 0xFFFFFFFF
  946. 00000BD8  3D7C FFFF FFCE           move.w     [A6 - 0x32], 0xFFFF
  947. 00000BDE  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  948. 00000BE2  4EBA 1540                jsr        [PC + 0x1540 /* 00002124 */]
  949. 00000BE6  3E3C 0001                move.w     D7, 0x1
  950. 00000BEA  3D47 FFD8                move.w     [A6 - 0x28], D7
  951. 00000BEE  BE6D FF56                cmp.w      D7, [A5 - 0xAA]
  952. 00000BF2  6E00 0188                bgt        +0x18A /* 00000D7C */
  953. 00000BF6  3D6D FF56 FE7A           move.w     [A6 - 0x186], [A5 - 0xAA]
  954. label00000BFC:
  955. 00000BFC  2C2E FEFC                move.l     D6, [A6 - 0x104]
  956. 00000C00  5286                     addq.l     D6, 1
  957. 00000C02  2D46 FEFC                move.l     [A6 - 0x104], D6
  958. 00000C06  598F                     subq.l     A7, 4
  959. 00000C08  286D FF4A                movea.l    A4, [A5 - 0xB6]
  960. 00000C0C  2854                     movea.l    A4, [A4]
  961. 00000C0E  2F2C 003E                move.l     -[A7], [A4 + 0x3E]
  962. 00000C12  2F2E FEFC                move.l     -[A7], [A6 - 0x104]
  963. 00000C16  49ED FFBC                lea.l      A4, [A5 - 0x44]
  964. 00000C1A  2C0C                     move.l     D6, A4
  965. 00000C1C  5286                     addq.l     D6, 1
  966. 00000C1E  2F06                     move.l     -[A7], D6
  967. 00000C20  2F3C 0000 0001           move.l     -[A7], 0x1
  968. 00000C26  42A7                     clr.l      -[A7]
  969. 00000C28  2F3C 0000 0001           move.l     -[A7], 0x1
  970. 00000C2E  A9E0                     syscall    Munger
  971. 00000C30  2C1F                     move.l     D6, [A7]+
  972. 00000C32  2D46 FEFC                move.l     [A6 - 0x104], D6
  973. 00000C36  426E FFCC                clr.w      [A6 - 0x34]
  974. label00000C3A:
  975. 00000C3A  3C2E FFCC                move.w     D6, [A6 - 0x34]
  976. 00000C3E  5246                     addq.w     D6, 1
  977. 00000C40  3D46 FFCC                move.w     [A6 - 0x34], D6
  978. 00000C44  426E FE80                clr.w      [A6 - 0x180]
  979. 00000C48  3C3C 0001                move.w     D6, 0x1
  980. 00000C4C  3D46 FE82                move.w     [A6 - 0x17E], D6
  981. 00000C50  BC6E FFCC                cmp.w      D6, [A6 - 0x34]
  982. 00000C54  6E00 002E                bgt        +0x30 /* 00000C84 */
  983. 00000C58  3D6E FFCC FE78           move.w     [A6 - 0x188], [A6 - 0x34]
  984. label00000C5E:
  985. 00000C5E  3A06                     move.w     D5, D6
  986. 00000C60  DA45                     add.w      D5, D5
  987. 00000C62  49EE FF00                lea.l      A4, [A6 - 0x100]
  988. 00000C66  382E FE80                move.w     D4, [A6 - 0x180]
  989. 00000C6A  D874 5000                add.w      D4, [A4 + D5.w]
  990. 00000C6E  3D44 FE80                move.w     [A6 - 0x180], D4
  991. 00000C72  BC6E FE78                cmp.w      D6, [A6 - 0x188]
  992. 00000C76  6C00 000C                bge        +0xE /* 00000C84 */
  993. 00000C7A  5246                     addq.w     D6, 1
  994. 00000C7C  3D46 FE82                move.w     [A6 - 0x17E], D6
  995. 00000C80  4EFA FFDC                jmp        [PC - 0x24 /* 00000C5E */]
  996. label00000C84:
  997. 00000C84  3C2E FFCC                move.w     D6, [A6 - 0x34]
  998. 00000C88  DC46                     add.w      D6, D6
  999. 00000C8A  49EE FF00                lea.l      A4, [A6 - 0x100]
  1000. 00000C8E  3A2E FE80                move.w     D5, [A6 - 0x180]
  1001. 00000C92  9A74 6000                sub.w      D5, [A4 + D6.w]
  1002. 00000C96  3D45 FE7E                move.w     [A6 - 0x182], D5
  1003. 00000C9A  3C2E FE7E                move.w     D6, [A6 - 0x182]
  1004. 00000C9E  48C6                     ext.l      D6
  1005. 00000CA0  2A2E FEFC                move.l     D5, [A6 - 0x104]
  1006. 00000CA4  BA86                     cmp.l      D5, D6
  1007. 00000CA6  5CC6                     sge        D6
  1008. 00000CA8  4406                     neg.b      D6
  1009. 00000CAA  3A2E FE80                move.w     D5, [A6 - 0x180]
  1010. 00000CAE  48C5                     ext.l      D5
  1011. 00000CB0  282E FEFC                move.l     D4, [A6 - 0x104]
  1012. 00000CB4  B885                     cmp.l      D4, D5
  1013. 00000CB6  5DC5                     slt        D5
  1014. 00000CB8  4405                     neg.b      D5
  1015. 00000CBA  CA06                     and.b      D5, D6
  1016. 00000CBC  6700 FF7C                beq        -0x82 /* 00000C3A */
  1017. 00000CC0  3C07                     move.w     D6, D7
  1018. 00000CC2  5346                     subq.w     D6, 1
  1019. 00000CC4  CDFC 000A                muls.w     D6, 0xA /* '\n' */
  1020. 00000CC8  49EE FE98                lea.l      A4, [A6 - 0x168]
  1021. 00000CCC  39AE FFCC 6000           move.w     [A4 + D6.w], [A6 - 0x34]
  1022. 00000CD2  3C2E FFCC                move.w     D6, [A6 - 0x34]
  1023. 00000CD6  5346                     subq.w     D6, 1
  1024. 00000CD8  CDED FFC8                muls.w     D6, [A5 - 0x38]
  1025. 00000CDC  3D46 FFD0                move.w     [A6 - 0x30], D6
  1026. label00000CE0:
  1027. 00000CE0  3C2E FFCE                move.w     D6, [A6 - 0x32]
  1028. 00000CE4  5246                     addq.w     D6, 1
  1029. 00000CE6  3D46 FFCE                move.w     [A6 - 0x32], D6
  1030. 00000CEA  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1031. 00000CEE  2854                     movea.l    A4, [A4]
  1032. 00000CF0  3C2E FFCE                move.w     D6, [A6 - 0x32]
  1033. 00000CF4  DC46                     add.w      D6, D6
  1034. 00000CF6  49EC 0060                lea.l      A4, [A4 + 0x60]
  1035. 00000CFA  3A34 6000                move.w     D5, [A4 + D6.w]
  1036. 00000CFE  48C5                     ext.l      D5
  1037. 00000D00  BAAE FEFC                cmp.l      D5, [A6 - 0x104]
  1038. 00000D04  6D00 FFDA                blt        -0x24 /* 00000CE0 */
  1039. 00000D08  3C07                     move.w     D6, D7
  1040. 00000D0A  5346                     subq.w     D6, 1
  1041. 00000D0C  CDFC 000A                muls.w     D6, 0xA /* '\n' */
  1042. 00000D10  49EE FE98                lea.l      A4, [A6 - 0x168]
  1043. 00000D14  3A2E FFCE                move.w     D5, [A6 - 0x32]
  1044. 00000D18  9A6E FFD0                sub.w      D5, [A6 - 0x30]
  1045. 00000D1C  266D FF4A                movea.l    A3, [A5 - 0xB6]
  1046. 00000D20  2653                     movea.l    A3, [A3]
  1047. 00000D22  CBEB 0018                muls.w     D5, [A3 + 0x18]
  1048. 00000D26  DA6D FF32                add.w      D5, [A5 - 0xCE]
  1049. 00000D2A  3985 6002                move.w     [A4 + D6.w + 0x2], D5
  1050. 00000D2E  3A07                     move.w     D5, D7
  1051. 00000D30  5345                     subq.w     D5, 1
  1052. 00000D32  CBFC 0006                muls.w     D5, 0x6
  1053. 00000D36  47ED FF80                lea.l      A3, [A5 - 0x80]
  1054. 00000D3A  39B3 5000 6004           move.w     [A4 + D6.w + 0x4], [A3 + D5.w]
  1055. 00000D40  3A07                     move.w     D5, D7
  1056. 00000D42  5345                     subq.w     D5, 1
  1057. 00000D44  CBFC 0006                muls.w     D5, 0x6
  1058. 00000D48  47ED FF80                lea.l      A3, [A5 - 0x80]
  1059. 00000D4C  39B3 5002 6008           move.w     [A4 + D6.w + 0x8], [A3 + D5.w + 0x2]
  1060. 00000D52  3A07                     move.w     D5, D7
  1061. 00000D54  5345                     subq.w     D5, 1
  1062. 00000D56  CBFC 0006                muls.w     D5, 0x6
  1063. 00000D5A  47ED FF80                lea.l      A3, [A5 - 0x80]
  1064. 00000D5E  3834 6002                move.w     D4, [A4 + D6.w + 0x2]
  1065. 00000D62  D873 5004                add.w      D4, [A3 + D5.w + 0x4]
  1066. 00000D66  3984 6006                move.w     [A4 + D6.w + 0x6], D4
  1067. 00000D6A  BE6E FE7A                cmp.w      D7, [A6 - 0x186]
  1068. 00000D6E  6C00 000C                bge        +0xE /* 00000D7C */
  1069. 00000D72  5247                     addq.w     D7, 1
  1070. 00000D74  3D47 FFD8                move.w     [A6 - 0x28], D7
  1071. 00000D78  4EFA FE82                jmp        [PC - 0x17E /* 00000BFC */]
  1072. label00000D7C:
  1073. 00000D7C  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  1074. 00000D80  4EBA 13AC                jsr        [PC + 0x13AC /* 0000212E */]
  1075. 00000D84  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1076. 00000D88  2854                     movea.l    A4, [A4]
  1077. 00000D8A  28AE FE88                move.l     [A4], [A6 - 0x178]
  1078. 00000D8E  296E FE8C 0004           move.l     [A4 + 0x4], [A6 - 0x174]
  1079. 00000D94  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1080. 00000D98  2854                     movea.l    A4, [A4]
  1081. 00000D9A  296E FE90 0008           move.l     [A4 + 0x8], [A6 - 0x170]
  1082. 00000DA0  296E FE94 000C           move.l     [A4 + 0xC], [A6 - 0x16C]
  1083. 00000DA6  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  1084. 00000DAA  A9D0                     syscall    TECalText
  1085. 00000DAC  4EBA F51A                jsr        [PC - 0xAE6 /* 000002C8 */]
  1086. 00000DB0  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1087. 00000DB4  2854                     movea.l    A4, [A4]
  1088. 00000DB6  2F2C 003E                move.l     -[A7], [A4 + 0x3E]
  1089. 00000DBA  4EBA 1368                jsr        [PC + 0x1368 /* 00002124 */]
  1090. 00000DBE  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1091. 00000DC2  2854                     movea.l    A4, [A4]
  1092. 00000DC4  286C 003E                movea.l    A4, [A4 + 0x3E]
  1093. 00000DC8  2D54 FE84                move.l     [A6 - 0x17C], [A4]
  1094. 00000DCC  598F                     subq.l     A7, 4
  1095. 00000DCE  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  1096. 00000DD2  42A7                     clr.l      -[A7]
  1097. 00000DD4  42A7                     clr.l      -[A7]
  1098. 00000DD6  4EBA 14B8                jsr        [PC + 0x14B8 /* 00002290 */]
  1099. 00000DDA  2E1F                     move.l     D7, [A7]+
  1100. 00000DDC  2D47 FFFC                move.l     [A6 - 0x4], D7
  1101. 00000DE0  3E3C 0001                move.w     D7, 0x1
  1102. 00000DE4  3D47 FFD4                move.w     [A6 - 0x2C], D7
  1103. 00000DE8  BE6E FFD2                cmp.w      D7, [A6 - 0x2E]
  1104. 00000DEC  6E00 00EC                bgt        +0xEE /* 00000EDA */
  1105. 00000DF0  3D6E FFD2 FE7A           move.w     [A6 - 0x186], [A6 - 0x2E]
  1106. label00000DF6:
  1107. 00000DF6  558F                     subq.l     A7, 2
  1108. 00000DF8  4EBA 1640                jsr        [PC + 0x1640 /* 0000243A */]
  1109. 00000DFC  3C1F                     move.w     D6, [A7]+
  1110. 00000DFE  4A46                     tst.w      D6
  1111. 00000E00  6600 00C6                bne        +0xC8 /* 00000EC8 */
  1112. 00000E04  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1113. 00000E08  42A7                     clr.l      -[A7]
  1114. 00000E0A  4EBA 14AA                jsr        [PC + 0x14AA /* 000022B6 */]
  1115. 00000E0E  558F                     subq.l     A7, 2
  1116. 00000E10  4EBA 1628                jsr        [PC + 0x1628 /* 0000243A */]
  1117. 00000E14  3C1F                     move.w     D6, [A7]+
  1118. 00000E16  4A46                     tst.w      D6
  1119. 00000E18  6600 00A6                bne        +0xA8 /* 00000EC0 */
  1120. 00000E1C  3F2D FFC2                move.w     -[A7], [A5 - 0x3E]
  1121. 00000E20  A887                     syscall    TextFont
  1122. 00000E22  3F2D FFC4                move.w     -[A7], [A5 - 0x3C]
  1123. 00000E26  A88A                     syscall    TextSize
  1124. 00000E28  2F2E FE84                move.l     -[A7], [A6 - 0x17C]
  1125. 00000E2C  3C07                     move.w     D6, D7
  1126. 00000E2E  DC46                     add.w      D6, D6
  1127. 00000E30  49EE FF00                lea.l      A4, [A6 - 0x100]
  1128. 00000E34  3A34 6000                move.w     D5, [A4 + D6.w]
  1129. 00000E38  48C5                     ext.l      D5
  1130. 00000E3A  2F05                     move.l     -[A7], D5
  1131. 00000E3C  486D FF32                pea.l      [A5 - 0xCE]
  1132. 00000E40  4267                     clr.w      -[A7]
  1133. 00000E42  A9CE                     syscall    TETextBox/TextBox
  1134. 00000E44  3C07                     move.w     D6, D7
  1135. 00000E46  DC46                     add.w      D6, D6
  1136. 00000E48  49EE FF00                lea.l      A4, [A6 - 0x100]
  1137. 00000E4C  3A34 6000                move.w     D5, [A4 + D6.w]
  1138. 00000E50  48C5                     ext.l      D5
  1139. 00000E52  DAAE FE84                add.l      D5, [A6 - 0x17C]
  1140. 00000E56  2D45 FE84                move.l     [A6 - 0x17C], D5
  1141. 00000E5A  4A6D FF56                tst.w      [A5 - 0xAA]
  1142. 00000E5E  6700 0060                beq        +0x62 /* 00000EC0 */
  1143. 00000E62  3C3C 0001                move.w     D6, 0x1
  1144. 00000E66  3D46 FFCC                move.w     [A6 - 0x34], D6
  1145. 00000E6A  BC6D FF56                cmp.w      D6, [A5 - 0xAA]
  1146. 00000E6E  6E00 0050                bgt        +0x52 /* 00000EC0 */
  1147. 00000E72  3D6D FF56 FE78           move.w     [A6 - 0x188], [A5 - 0xAA]
  1148. label00000E78:
  1149. 00000E78  3A06                     move.w     D5, D6
  1150. 00000E7A  5345                     subq.w     D5, 1
  1151. 00000E7C  CBFC 000A                muls.w     D5, 0xA /* '\n' */
  1152. 00000E80  49EE FE98                lea.l      A4, [A6 - 0x168]
  1153. 00000E84  3834 5000                move.w     D4, [A4 + D5.w]
  1154. 00000E88  B847                     cmp.w      D4, D7
  1155. 00000E8A  6600 0022                bne        +0x24 /* 00000EAE */
  1156. 00000E8E  3A06                     move.w     D5, D6
  1157. 00000E90  5345                     subq.w     D5, 1
  1158. 00000E92  E54D                     lsl        D5.w, 2
  1159. 00000E94  49ED FF58                lea.l      A4, [A5 - 0xA8]
  1160. 00000E98  2F34 5000                move.l     -[A7], [A4 + D5.w]
  1161. 00000E9C  3A06                     move.w     D5, D6
  1162. 00000E9E  5345                     subq.w     D5, 1
  1163. 00000EA0  CBFC 000A                muls.w     D5, 0xA /* '\n' */
  1164. 00000EA4  49EE FE98                lea.l      A4, [A6 - 0x168]
  1165. 00000EA8  4874 5002                pea.l      [A4 + D5.w + 0x2]
  1166. 00000EAC  A8F6                     syscall    DrawPicture
  1167. label00000EAE:
  1168. 00000EAE  BC6E FE78                cmp.w      D6, [A6 - 0x188]
  1169. 00000EB2  6C00 000C                bge        +0xE /* 00000EC0 */
  1170. 00000EB6  5246                     addq.w     D6, 1
  1171. 00000EB8  3D46 FFCC                move.w     [A6 - 0x34], D6
  1172. 00000EBC  4EFA FFBA                jmp        [PC - 0x46 /* 00000E78 */]
  1173. label00000EC0:
  1174. 00000EC0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1175. 00000EC4  4EBA 13F8                jsr        [PC + 0x13F8 /* 000022BE */]
  1176. label00000EC8:
  1177. 00000EC8  BE6E FE7A                cmp.w      D7, [A6 - 0x186]
  1178. 00000ECC  6C00 000C                bge        +0xE /* 00000EDA */
  1179. 00000ED0  5247                     addq.w     D7, 1
  1180. 00000ED2  3D47 FFD4                move.w     [A6 - 0x2C], D7
  1181. 00000ED6  4EFA FF1E                jmp        [PC - 0xE2 /* 00000DF6 */]
  1182. label00000EDA:
  1183. 00000EDA  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1184. 00000EDE  4EBA 13CE                jsr        [PC + 0x13CE /* 000022AE */]
  1185. 00000EE2  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1186. 00000EE6  2854                     movea.l    A4, [A4]
  1187. 00000EE8  2F2C 003E                move.l     -[A7], [A4 + 0x3E]
  1188. 00000EEC  4EBA 1240                jsr        [PC + 0x1240 /* 0000212E */]
  1189. 00000EF0  286D FFBE                movea.l    A4, [A5 - 0x42]
  1190. 00000EF4  2854                     movea.l    A4, [A4]
  1191. 00000EF6  1E2C 0044                move.b     D7, [A4 + 0x44]
  1192. 00000EFA  4887                     ext.w      D7
  1193. 00000EFC  0C47 0001                cmpi.w     D7, 0x1
  1194. 00000F00  57C7                     seq        D7
  1195. 00000F02  4407                     neg.b      D7
  1196. 00000F04  558F                     subq.l     A7, 2
  1197. 00000F06  4EBA 1532                jsr        [PC + 0x1532 /* 0000243A */]
  1198. 00000F0A  3C1F                     move.w     D6, [A7]+
  1199. 00000F0C  4A46                     tst.w      D6
  1200. 00000F0E  57C6                     seq        D6
  1201. 00000F10  4406                     neg.b      D6
  1202. 00000F12  CC07                     and.b      D6, D7
  1203. 00000F14  6700 0014                beq        +0x16 /* 00000F2A */
  1204. 00000F18  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  1205. 00000F1C  42A7                     clr.l      -[A7]
  1206. 00000F1E  42A7                     clr.l      -[A7]
  1207. 00000F20  42A7                     clr.l      -[A7]
  1208. 00000F22  486E FFDA                pea.l      [A6 - 0x26]
  1209. 00000F26  4EBA 13FA                jsr        [PC + 0x13FA /* 00002322 */]
  1210. label00000F2A:
  1211. 00000F2A  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1212. 00000F2E  A983                     syscall    DisposeDialog
  1213. label00000F30:
  1214. 00000F30  4EBA 14C0                jsr        [PC + 0x14C0 /* 000023F2 */]
  1215. 00000F34  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1216. 00000F38  A873                     syscall    SetPort
  1217. 00000F3A  A896                     syscall    HidePen
  1218. 00000F3C  4EBA F802                jsr        [PC - 0x7FE /* 00000740 */]
  1219. 00000F40  A897                     syscall    ShowPen
  1220. 00000F42  4EBA F678                jsr        [PC - 0x988 /* 000005BC */]
  1221. 00000F46  A850                     syscall    InitCursor
  1222. 00000F48  4CDF 1CF0                movem.l    D4,D5,D6,D7,A2,A3,A4, [A7]+
  1223. 00000F4C  4E5E                     unlink     A6
  1224. 00000F4E  4E75                     rts
  1225. fn00000F50:
  1226. 00000F50  4E56 FEF8                link       A6, -0x0108
  1227. 00000F54  48E7 0100                movem.l    -[A7], D7
  1228. 00000F58  4AAE 0008                tst.l      [A6 + 0x8]
  1229. 00000F5C  6700 00F4                beq        +0xF6 /* 00001052 */
  1230. 00000F60  558F                     subq.l     A7, 2
  1231. 00000F62  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1232. 00000F66  A86A                     syscall    HiWord
  1233. 00000F68  3E1F                     move.w     D7, [A7]+
  1234. 00000F6A  3D47 FFFE                move.w     [A6 - 0x2], D7
  1235. 00000F6E  558F                     subq.l     A7, 2
  1236. 00000F70  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1237. 00000F74  A86B                     syscall    LoWord
  1238. 00000F76  3E1F                     move.w     D7, [A7]+
  1239. 00000F78  3D47 FFFC                move.w     [A6 - 0x4], D7
  1240. 00000F7C  4EFA 00B4                jmp        [PC + 0xB4 /* 00001032 */]
  1241. label00000F80:
  1242. 00000F80  0C6E 0003 FFFC           cmpi.w     [A6 - 0x4], 0x3
  1243. 00000F86  6C00 000A                bge        +0xC /* 00000F92 */
  1244. 00000F8A  4EBA F224                jsr        [PC - 0xDDC /* 000001B0 */]
  1245. 00000F8E  4EFA 004A                jmp        [PC + 0x4A /* 00000FDA */]
  1246. label00000F92:
  1247. 00000F92  2F2D FF1E                move.l     -[A7], [A5 - 0xE2]
  1248. 00000F96  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  1249. 00000F9A  486E FEFC                pea.l      [A6 - 0x104]
  1250. 00000F9E  A946                     syscall    GetMenuItemText/GetItem
  1251. 00000FA0  558F                     subq.l     A7, 2
  1252. 00000FA2  486E FEFC                pea.l      [A6 - 0x104]
  1253. 00000FA6  A9B6                     syscall    OpenDeskAcc
  1254. 00000FA8  3E1F                     move.w     D7, [A7]+
  1255. 00000FAA  3D47 FEFA                move.w     [A6 - 0x106], D7
  1256. 00000FAE  486E FEFC                pea.l      [A6 - 0x104]
  1257. 00000FB2  1F3C 0001                move.b     -[A7], 0x1
  1258. 00000FB6  4EBA 1196                jsr        [PC + 0x1196 /* 0000214E */]
  1259. 00000FBA  4247                     clr.w      D7
  1260. 00000FBC  1E2E FEFC                move.b     D7, [A6 - 0x104]
  1261. 00000FC0  3F07                     move.w     -[A7], D7
  1262. 00000FC2  486E FEFD                pea.l      [A6 - 0x103]
  1263. 00000FC6  3F3C 0008                move.w     -[A7], 0x8
  1264. 00000FCA  487A 0090                pea.l      [PC + 0x90 /* 0000105C, value 0x43484F 'CHO', cstring "" */]
  1265. 00000FCE  4EBA 0C20                jsr        [PC + 0xC20 /* 00001BF0 */]
  1266. 00000FD2  6600 0006                bne        +0x8 /* 00000FDA */
  1267. 00000FD6  422D FF2A                clr.b      [A5 - 0xD6]
  1268. label00000FDA:
  1269. 00000FDA  4EFA 0072                jmp        [PC + 0x72 /* 0000104E */]
  1270. label00000FDE:
  1271. 00000FDE  4EFA 001C                jmp        [PC + 0x1C /* 00000FFC */]
  1272. label00000FE2:
  1273. 00000FE2  4EBA F9EC                jsr        [PC - 0x614 /* 000009D0 */]
  1274. 00000FE6  4EFA 0030                jmp        [PC + 0x30 /* 00001018 */]
  1275. label00000FEA:
  1276. 00000FEA  4EBA FA4C                jsr        [PC - 0x5B4 /* 00000A38 */]
  1277. 00000FEE  4EFA 0028                jmp        [PC + 0x28 /* 00001018 */]
  1278. label00000FF2:
  1279. 00000FF2  1B7C 0001 FF2C           move.b     [A5 - 0xD4], 0x1
  1280. 00000FF8  4EFA 001E                jmp        [PC + 0x1E /* 00001018 */]
  1281. label00000FFC:
  1282. 00000FFC  3E2E FFFC                move.w     D7, [A6 - 0x4]
  1283. 00001000  0C47 0001                cmpi.w     D7, 0x1
  1284. 00001004  6700 FFDC                beq        -0x22 /* 00000FE2 */
  1285. 00001008  0C47 0002                cmpi.w     D7, 0x2
  1286. 0000100C  6700 FFDC                beq        -0x22 /* 00000FEA */
  1287. 00001010  0C47 0004                cmpi.w     D7, 0x4
  1288. 00001014  6700 FFDC                beq        -0x22 /* 00000FF2 */
  1289. label00001018:
  1290. 00001018  4EFA 0034                jmp        [PC + 0x34 /* 0000104E */]
  1291. label0000101C:
  1292. 0000101C  558F                     subq.l     A7, 2
  1293. 0000101E  3E2E FFFC                move.w     D7, [A6 - 0x4]
  1294. 00001022  5347                     subq.w     D7, 1
  1295. 00001024  3F07                     move.w     -[A7], D7
  1296. 00001026  A9C2                     syscall    SysEdit
  1297. 00001028  1E1F                     move.b     D7, [A7]+
  1298. 0000102A  1D47 FEF8                move.b     [A6 - 0x108], D7
  1299. 0000102E  4EFA 001E                jmp        [PC + 0x1E /* 0000104E */]
  1300. label00001032:
  1301. 00001032  3E2E FFFE                move.w     D7, [A6 - 0x2]
  1302. 00001036  0C47 0001                cmpi.w     D7, 0x1
  1303. 0000103A  6700 FF44                beq        -0xBA /* 00000F80 */
  1304. 0000103E  0C47 0002                cmpi.w     D7, 0x2
  1305. 00001042  6700 FF9A                beq        -0x64 /* 00000FDE */
  1306. 00001046  0C47 0003                cmpi.w     D7, 0x3
  1307. 0000104A  6700 FFD0                beq        -0x2E /* 0000101C */
  1308. label0000104E:
  1309. 0000104E  4267                     clr.w      -[A7]
  1310. 00001050  A938                     syscall    HiliteMenu
  1311. label00001052:
  1312. 00001052  4CDF 0080                movem.l    D7, [A7]+
  1313. 00001056  4E5E                     unlink     A6
  1314. 00001058  2E9F                     move.l     [A7], [A7]+
  1315. 0000105A  4E75                     rts
  1316. 0000105C  0043 484F                ori.w      D3, 0x484F /* 'HO' */
  1317. 00001060  4F53                     chk.w      D7, [A3]
  1318. 00001062  4552                     chk.w      D2, [A2]
  1319. fn00001064:
  1320. 00001064  4E56 FFD6                link       A6, -0x002A
  1321. 00001068  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1322. 0000106C  286E 0008                movea.l    A4, [A6 + 0x8]
  1323. 00001070  47EE FFF0                lea.l      A3, [A6 - 0x10]
  1324. 00001074  3E3C 000F                move.w     D7, 0xF
  1325. label00001078:
  1326. 00001078  16DC                     move.b     [A3]+, [A4]+
  1327. 0000107A  51CF FFFC                dbf        D7, -0x6 /* 00001078 */
  1328. 0000107E  2D6E FFFA FFE4           move.l     [A6 - 0x1C], [A6 - 0x6]
  1329. 00001084  558F                     subq.l     A7, 2
  1330. 00001086  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1331. 0000108A  486E FFE8                pea.l      [A6 - 0x18]
  1332. 0000108E  A92C                     syscall    FindWindow
  1333. 00001090  3E1F                     move.w     D7, [A7]+
  1334. 00001092  3D47 FFE2                move.w     [A6 - 0x1E], D7
  1335. 00001096  4EFA 01B4                jmp        [PC + 0x1B4 /* 0000124C */]
  1336. 0000109A  598F                     subq.l     A7, 4
  1337. 0000109C  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1338. 000010A0  A93D                     syscall    MenuSelect
  1339. 000010A2  2E1F                     move.l     D7, [A7]+
  1340. 000010A4  2F07                     move.l     -[A7], D7
  1341. 000010A6  4EBA FEA8                jsr        [PC - 0x158 /* 00000F50 */]
  1342. 000010AA  4EFA 01D2                jmp        [PC + 0x1D2 /* 0000127E */]
  1343. 000010AE  486E FFF0                pea.l      [A6 - 0x10]
  1344. 000010B2  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1345. 000010B6  A9B3                     syscall    SystemClick
  1346. 000010B8  4EFA 01C4                jmp        [PC + 0x1C4 /* 0000127E */]
  1347. 000010BC  598F                     subq.l     A7, 4
  1348. 000010BE  A924                     syscall    FrontWindow
  1349. 000010C0  2E1F                     move.l     D7, [A7]+
  1350. 000010C2  2C2E FFE8                move.l     D6, [A6 - 0x18]
  1351. 000010C6  BC87                     cmp.l      D6, D7
  1352. 000010C8  6700 000C                beq        +0xE /* 000010D6 */
  1353. 000010CC  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1354. 000010D0  A91F                     syscall    SelectWindow
  1355. 000010D2  4EFA 0040                jmp        [PC + 0x40 /* 00001114 */]
  1356. label000010D6:
  1357. 000010D6  486E FFE4                pea.l      [A6 - 0x1C]
  1358. 000010DA  A871                     syscall    GlobalToLocal
  1359. 000010DC  558F                     subq.l     A7, 2
  1360. 000010DE  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1361. 000010E2  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1362. 000010E6  486E FFD6                pea.l      [A6 - 0x2A]
  1363. 000010EA  A96C                     syscall    FindControl
  1364. 000010EC  3E1F                     move.w     D7, [A7]+
  1365. 000010EE  3D47 FFEE                move.w     [A6 - 0x12], D7
  1366. 000010F2  2E2E FFD6                move.l     D7, [A6 - 0x2A]
  1367. 000010F6  BEAD FF4E                cmp.l      D7, [A5 - 0xB2]
  1368. 000010FA  6600 0012                bne        +0x14 /* 0000110E */
  1369. 000010FE  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  1370. 00001102  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1371. 00001106  4EBA F7FA                jsr        [PC - 0x806 /* 00000902 */]
  1372. 0000110A  4EFA 0008                jmp        [PC + 0x8 /* 00001114 */]
  1373. label0000110E:
  1374. 0000110E  3F3C 0001                move.w     -[A7], 0x1
  1375. 00001112  A9C8                     syscall    SysBeep
  1376. label00001114:
  1377. 00001114  4EFA 0168                jmp        [PC + 0x168 /* 0000127E */]
  1378. 00001118  598F                     subq.l     A7, 4
  1379. 0000111A  A924                     syscall    FrontWindow
  1380. 0000111C  2E1F                     move.l     D7, [A7]+
  1381. 0000111E  2C2E FFE8                move.l     D6, [A6 - 0x18]
  1382. 00001122  BC87                     cmp.l      D6, D7
  1383. 00001124  6700 000C                beq        +0xE /* 00001132 */
  1384. 00001128  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1385. 0000112C  A91F                     syscall    SelectWindow
  1386. 0000112E  4EFA 0070                jmp        [PC + 0x70 /* 000011A0 */]
  1387. label00001132:
  1388. 00001132  3B7C 0096 FF44           move.w     [A5 - 0xBC], 0x96
  1389. 00001138  3B7C 0032 FF42           move.w     [A5 - 0xBE], 0x32 /* '2' */
  1390. 0000113E  598F                     subq.l     A7, 4
  1391. 00001140  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1392. 00001144  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1393. 00001148  486D FF42                pea.l      [A5 - 0xBE]
  1394. 0000114C  A92B                     syscall    GrowWindow
  1395. 0000114E  2E1F                     move.l     D7, [A7]+
  1396. 00001150  2D47 FFDE                move.l     [A6 - 0x22], D7
  1397. 00001154  4AAE FFDE                tst.l      [A6 - 0x22]
  1398. 00001158  6700 0046                beq        +0x48 /* 000011A0 */
  1399. 0000115C  558F                     subq.l     A7, 2
  1400. 0000115E  2F2E FFDE                move.l     -[A7], [A6 - 0x22]
  1401. 00001162  A86A                     syscall    HiWord
  1402. 00001164  3E1F                     move.w     D7, [A7]+
  1403. 00001166  3D47 FFDC                move.w     [A6 - 0x24], D7
  1404. 0000116A  558F                     subq.l     A7, 2
  1405. 0000116C  2F2E FFDE                move.l     -[A7], [A6 - 0x22]
  1406. 00001170  A86B                     syscall    LoWord
  1407. 00001172  3E1F                     move.w     D7, [A7]+
  1408. 00001174  3D47 FFDA                move.w     [A6 - 0x26], D7
  1409. 00001178  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1410. 0000117C  3F2E FFDA                move.w     -[A7], [A6 - 0x26]
  1411. 00001180  3F2E FFDC                move.w     -[A7], [A6 - 0x24]
  1412. 00001184  1F3C 0001                move.b     -[A7], 0x1
  1413. 00001188  A91D                     syscall    SizeWindow
  1414. 0000118A  286E FFE8                movea.l    A4, [A6 - 0x18]
  1415. 0000118E  486C 0010                pea.l      [A4 + 0x10]
  1416. 00001192  A928                     syscall    InvalRect
  1417. 00001194  A896                     syscall    HidePen
  1418. 00001196  4EBA F5A8                jsr        [PC - 0xA58 /* 00000740 */]
  1419. 0000119A  A897                     syscall    ShowPen
  1420. 0000119C  4EBA F41E                jsr        [PC - 0xBE2 /* 000005BC */]
  1421. label000011A0:
  1422. 000011A0  4EFA 00DC                jmp        [PC + 0xDC /* 0000127E */]
  1423. 000011A4  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1424. 000011A8  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1425. 000011AC  486D FF3A                pea.l      [A5 - 0xC6]
  1426. 000011B0  A925                     syscall    DragWindow
  1427. 000011B2  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1428. 000011B6  A91F                     syscall    SelectWindow
  1429. 000011B8  4EFA 00C4                jmp        [PC + 0xC4 /* 0000127E */]
  1430. 000011BC  558F                     subq.l     A7, 2
  1431. 000011BE  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1432. 000011C2  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1433. 000011C6  A91E                     syscall    TrackGoAway
  1434. 000011C8  1E1F                     move.b     D7, [A7]+
  1435. 000011CA  6700 0008                beq        +0xA /* 000011D4 */
  1436. 000011CE  1B7C 0001 FF2C           move.b     [A5 - 0xD4], 0x1
  1437. label000011D4:
  1438. 000011D4  4EFA 00A8                jmp        [PC + 0xA8 /* 0000127E */]
  1439. 000011D8  558F                     subq.l     A7, 2
  1440. 000011DA  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1441. 000011DE  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1442. 000011E2  3F3C 0007                move.w     -[A7], 0x7
  1443. 000011E6  A83B                     syscall    TrackBox
  1444. 000011E8  1E1F                     move.b     D7, [A7]+
  1445. 000011EA  6700 0022                beq        +0x24 /* 0000120E */
  1446. 000011EE  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1447. 000011F2  A873                     syscall    SetPort
  1448. 000011F4  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1449. 000011F8  3F3C 0007                move.w     -[A7], 0x7
  1450. 000011FC  1F3C 0001                move.b     -[A7], 0x1
  1451. 00001200  A83A                     syscall    ZoomWindow
  1452. 00001202  A896                     syscall    HidePen
  1453. 00001204  4EBA F53A                jsr        [PC - 0xAC6 /* 00000740 */]
  1454. 00001208  A897                     syscall    ShowPen
  1455. 0000120A  4EBA F3B0                jsr        [PC - 0xC50 /* 000005BC */]
  1456. label0000120E:
  1457. 0000120E  4EFA 006E                jmp        [PC + 0x6E /* 0000127E */]
  1458. 00001212  558F                     subq.l     A7, 2
  1459. 00001214  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1460. 00001218  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  1461. 0000121C  3F3C 0008                move.w     -[A7], 0x8
  1462. 00001220  A83B                     syscall    TrackBox
  1463. 00001222  1E1F                     move.b     D7, [A7]+
  1464. 00001224  6700 0022                beq        +0x24 /* 00001248 */
  1465. 00001228  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1466. 0000122C  A873                     syscall    SetPort
  1467. 0000122E  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1468. 00001232  3F3C 0008                move.w     -[A7], 0x8
  1469. 00001236  1F3C 0001                move.b     -[A7], 0x1
  1470. 0000123A  A83A                     syscall    ZoomWindow
  1471. 0000123C  A896                     syscall    HidePen
  1472. 0000123E  4EBA F500                jsr        [PC - 0xB00 /* 00000740 */]
  1473. 00001242  A897                     syscall    ShowPen
  1474. 00001244  4EBA F376                jsr        [PC - 0xC8A /* 000005BC */]
  1475. label00001248:
  1476. 00001248  4EFA 0034                jmp        [PC + 0x34 /* 0000127E */]
  1477. label0000124C:
  1478. 0000124C  3E2E FFE2                move.w     D7, [A6 - 0x1E]
  1479. 00001250  0C47 0001                cmpi.w     D7, 0x1
  1480. 00001254  6D00 0028                blt        +0x2A /* 0000127E */
  1481. 00001258  0C47 0008                cmpi.w     D7, 0x8
  1482. 0000125C  6E00 0020                bgt        +0x22 /* 0000127E */
  1483. 00001260  0447 0001                subi.w     D7, 0x1
  1484. 00001264  DE47                     add.w      D7, D7
  1485. 00001266  3E3B 7006                move.w     D7, [PC + D7.w + 0x6]
  1486. 0000126A  4EFB 7002                jmp        [PC + D7.w + 0x2]
  1487. 0000126E  FE2C FE40                .unknown   0xFE2C 0xFE40 (W = 7)
  1488. 00001272  FE4E FF36                .extension 0xE4E <<F/1/7>>, 0xFF36 // unimplemented
  1489. 00001276  FEAA FF4E                .extension 0xEAA <<F/2-3/7>> // unimplemented
  1490. 0000127A  FF6A                     .extension 0xF6A <<F/4-5/7>> // unimplemented
  1491. 0000127C  FFA4                     .invalid   <<F/6/7>>
  1492. label0000127E:
  1493. 0000127E  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  1494. 00001282  4E5E                     unlink     A6
  1495. 00001284  2E9F                     move.l     [A7], [A7]+
  1496. 00001286  4E75                     rts
  1497. fn00001288:
  1498. 00001288  4E56 FFEA                link       A6, -0x0016
  1499. 0000128C  48E7 0118                movem.l    -[A7], D7,A3,A4
  1500. 00001290  286E 0008                movea.l    A4, [A6 + 0x8]
  1501. 00001294  47EE FFF0                lea.l      A3, [A6 - 0x10]
  1502. 00001298  3E3C 000F                move.w     D7, 0xF
  1503. label0000129C:
  1504. 0000129C  16DC                     move.b     [A3]+, [A4]+
  1505. 0000129E  51CF FFFC                dbf        D7, -0x6 /* 0000129C */
  1506. 000012A2  2D6E FFF2 FFEA           move.l     [A6 - 0x16], [A6 - 0xE]
  1507. 000012A8  4247                     clr.w      D7
  1508. 000012AA  1E2E FFED                move.b     D7, [A6 - 0x13]
  1509. 000012AE  3D47 FFEE                move.w     [A6 - 0x12], D7
  1510. 000012B2  598F                     subq.l     A7, 4
  1511. 000012B4  3E2E FFFE                move.w     D7, [A6 - 0x2]
  1512. 000012B8  48C7                     ext.l      D7
  1513. 000012BA  2F07                     move.l     -[A7], D7
  1514. 000012BC  2F3C 0000 0100           move.l     -[A7], 0x100
  1515. 000012C2  A858                     syscall    BitAnd
  1516. 000012C4  2E1F                     move.l     D7, [A7]+
  1517. 000012C6  0C87 0000 0100           cmpi.l     D7, 0x100
  1518. 000012CC  6600 0012                bne        +0x14 /* 000012E0 */
  1519. 000012D0  598F                     subq.l     A7, 4
  1520. 000012D2  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  1521. 000012D6  A93E                     syscall    MenuKey
  1522. 000012D8  2E1F                     move.l     D7, [A7]+
  1523. 000012DA  2F07                     move.l     -[A7], D7
  1524. 000012DC  4EBA FC72                jsr        [PC - 0x38E /* 00000F50 */]
  1525. label000012E0:
  1526. 000012E0  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1527. 000012E4  4E5E                     unlink     A6
  1528. 000012E6  2E9F                     move.l     [A7], [A7]+
  1529. 000012E8  4E75                     rts
  1530. fn000012EA:
  1531. 000012EA  4E56 FFEC                link       A6, -0x0014
  1532. 000012EE  48E7 0118                movem.l    -[A7], D7,A3,A4
  1533. 000012F2  286E 0008                movea.l    A4, [A6 + 0x8]
  1534. 000012F6  47EE FFF0                lea.l      A3, [A6 - 0x10]
  1535. 000012FA  3E3C 000F                move.w     D7, 0xF
  1536. label000012FE:
  1537. 000012FE  16DC                     move.b     [A3]+, [A4]+
  1538. 00001300  51CF FFFC                dbf        D7, -0x6 /* 000012FE */
  1539. 00001304  2D6E FFF2 FFEC           move.l     [A6 - 0x14], [A6 - 0xE]
  1540. 0000130A  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1541. 0000130E  A904                     syscall    DrawGrowIcon
  1542. 00001310  3E2E FFFE                move.w     D7, [A6 - 0x2]
  1543. 00001314  0807 0000                btst.b     D7, 0x0
  1544. 00001318  56C7                     sne        D7
  1545. 0000131A  4407                     neg.b      D7
  1546. 0000131C  6700 0008                beq        +0xA /* 00001326 */
  1547. 00001320  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1548. 00001324  A873                     syscall    SetPort
  1549. label00001326:
  1550. 00001326  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1551. 0000132A  4E5E                     unlink     A6
  1552. 0000132C  2E9F                     move.l     [A7], [A7]+
  1553. 0000132E  4E75                     rts
  1554. fn00001330:
  1555. 00001330  4E56 FFEC                link       A6, -0x0014
  1556. 00001334  48E7 0118                movem.l    -[A7], D7,A3,A4
  1557. 00001338  286E 0008                movea.l    A4, [A6 + 0x8]
  1558. 0000133C  47EE FFF0                lea.l      A3, [A6 - 0x10]
  1559. 00001340  3E3C 000F                move.w     D7, 0xF
  1560. label00001344:
  1561. 00001344  16DC                     move.b     [A3]+, [A4]+
  1562. 00001346  51CF FFFC                dbf        D7, -0x6 /* 00001344 */
  1563. 0000134A  486E FFEC                pea.l      [A6 - 0x14]
  1564. 0000134E  A874                     syscall    GetPort
  1565. 00001350  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1566. 00001354  A873                     syscall    SetPort
  1567. 00001356  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1568. 0000135A  A922                     syscall    BeginUpdate
  1569. 0000135C  286D FF2E                movea.l    A4, [A5 - 0xD2]
  1570. 00001360  486C 0010                pea.l      [A4 + 0x10]
  1571. 00001364  A8A3                     syscall    EraseRect
  1572. 00001366  286D FF2E                movea.l    A4, [A5 - 0xD2]
  1573. 0000136A  286C 0018                movea.l    A4, [A4 + 0x18]
  1574. 0000136E  2854                     movea.l    A4, [A4]
  1575. 00001370  486C 0002                pea.l      [A4 + 0x2]
  1576. 00001374  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  1577. 00001378  A9D3                     syscall    TEUpdate
  1578. 0000137A  1F3C 0001                move.b     -[A7], 0x1
  1579. 0000137E  4EBA F00E                jsr        [PC - 0xFF2 /* 0000038E */]
  1580. 00001382  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1581. 00001386  A904                     syscall    DrawGrowIcon
  1582. 00001388  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1583. 0000138C  A969                     syscall    DrawControls
  1584. 0000138E  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1585. 00001392  A923                     syscall    EndUpdate
  1586. 00001394  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1587. 00001398  A873                     syscall    SetPort
  1588. 0000139A  A850                     syscall    InitCursor
  1589. 0000139C  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1590. 000013A0  4E5E                     unlink     A6
  1591. 000013A2  2E9F                     move.l     [A7], [A7]+
  1592. 000013A4  4E75                     rts
  1593. fn000013A6:
  1594. 000013A6  4E56 FFEE                link       A6, -0x0012
  1595. 000013AA  48E7 0100                movem.l    -[A7], D7
  1596. label000013AE:
  1597. 000013AE  A9B4                     syscall    SystemTask
  1598. 000013B0  558F                     subq.l     A7, 2
  1599. 000013B2  3F3C FFFF                move.w     -[A7], 0xFFFF
  1600. 000013B6  486E FFF0                pea.l      [A6 - 0x10]
  1601. 000013BA  A970                     syscall    GetNextEvent
  1602. 000013BC  1E1F                     move.b     D7, [A7]+
  1603. 000013BE  1D47 FFEE                move.b     [A6 - 0x12], D7
  1604. 000013C2  4A2E FFEE                tst.b      [A6 - 0x12]
  1605. 000013C6  6700 006E                beq        +0x70 /* 00001436 */
  1606. 000013CA  4EFA 003E                jmp        [PC + 0x3E /* 0000140A */]
  1607. label000013CE:
  1608. 000013CE  486E FFF0                pea.l      [A6 - 0x10]
  1609. 000013D2  4EBA FC90                jsr        [PC - 0x370 /* 00001064 */]
  1610. 000013D6  4EFA 005E                jmp        [PC + 0x5E /* 00001436 */]
  1611. label000013DA:
  1612. 000013DA  486E FFF0                pea.l      [A6 - 0x10]
  1613. 000013DE  4EBA FEA8                jsr        [PC - 0x158 /* 00001288 */]
  1614. 000013E2  4EFA 0052                jmp        [PC + 0x52 /* 00001436 */]
  1615. label000013E6:
  1616. 000013E6  486E FFF0                pea.l      [A6 - 0x10]
  1617. 000013EA  4EBA FE9C                jsr        [PC - 0x164 /* 00001288 */]
  1618. 000013EE  4EFA 0046                jmp        [PC + 0x46 /* 00001436 */]
  1619. label000013F2:
  1620. 000013F2  486E FFF0                pea.l      [A6 - 0x10]
  1621. 000013F6  4EBA FEF2                jsr        [PC - 0x10E /* 000012EA */]
  1622. 000013FA  4EFA 003A                jmp        [PC + 0x3A /* 00001436 */]
  1623. label000013FE:
  1624. 000013FE  486E FFF0                pea.l      [A6 - 0x10]
  1625. 00001402  4EBA FF2C                jsr        [PC - 0xD4 /* 00001330 */]
  1626. 00001406  4EFA 002E                jmp        [PC + 0x2E /* 00001436 */]
  1627. label0000140A:
  1628. 0000140A  3E2E FFF0                move.w     D7, [A6 - 0x10]
  1629. 0000140E  0C47 0001                cmpi.w     D7, 0x1
  1630. 00001412  6700 FFBA                beq        -0x44 /* 000013CE */
  1631. 00001416  0C47 0003                cmpi.w     D7, 0x3
  1632. 0000141A  6700 FFCA                beq        -0x34 /* 000013E6 */
  1633. 0000141E  0C47 0005                cmpi.w     D7, 0x5
  1634. 00001422  6700 FFB6                beq        -0x48 /* 000013DA */
  1635. 00001426  0C47 0006                cmpi.w     D7, 0x6
  1636. 0000142A  6700 FFD2                beq        -0x2C /* 000013FE */
  1637. 0000142E  0C47 0008                cmpi.w     D7, 0x8
  1638. 00001432  6700 FFBE                beq        -0x40 /* 000013F2 */
  1639. label00001436:
  1640. 00001436  4A2D FF2C                tst.b      [A5 - 0xD4]
  1641. 0000143A  6700 FF72                beq        -0x8C /* 000013AE */
  1642. 0000143E  4CDF 0080                movem.l    D7, [A7]+
  1643. 00001442  4E5E                     unlink     A6
  1644. 00001444  4E75                     rts
  1645. fn00001446:
  1646. 00001446  4E56 FFFE                link       A6, -0x0002
  1647. 0000144A  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1648. 0000144E  4EBA 0C88                jsr        [PC + 0xC88 /* 000020D8 */]
  1649. 00001452  4EBA 0CE4                jsr        [PC + 0xCE4 /* 00002138 */]
  1650. 00001456  4EBA 0CE0                jsr        [PC + 0xCE0 /* 00002138 */]
  1651. 0000145A  4EBA 0CDC                jsr        [PC + 0xCDC /* 00002138 */]
  1652. 0000145E  3E3C 0001                move.w     D7, 0x1
  1653. 00001462  3D47 FFFE                move.w     [A6 - 0x2], D7
  1654. 00001466  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  1655. 0000146A  6E00 0030                bgt        +0x32 /* 0000149C */
  1656. label0000146E:
  1657. 0000146E  3C07                     move.w     D6, D7
  1658. 00001470  5346                     subq.w     D6, 1
  1659. 00001472  E54E                     lsl        D6.w, 2
  1660. 00001474  49ED FF58                lea.l      A4, [A5 - 0xA8]
  1661. 00001478  598F                     subq.l     A7, 4
  1662. 0000147A  2F3C 0000 0014           move.l     -[A7], 0x14
  1663. 00001480  4EBA 0C8A                jsr        [PC + 0xC8A /* 0000210C */]
  1664. 00001484  2A1F                     move.l     D5, [A7]+
  1665. 00001486  2985 6000                move.l     [A4 + D6.w], D5
  1666. 0000148A  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  1667. 0000148E  6C00 000C                bge        +0xE /* 0000149C */
  1668. 00001492  5247                     addq.w     D7, 1
  1669. 00001494  3D47 FFFE                move.w     [A6 - 0x2], D7
  1670. 00001498  4EFA FFD4                jmp        [PC - 0x2C /* 0000146E */]
  1671. label0000149C:
  1672. 0000149C  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  1673. 000014A0  4E5E                     unlink     A6
  1674. 000014A2  4E75                     rts
  1675. fn000014A4:
  1676. 000014A4  4E56 0000                link       A6, 0
  1677. 000014A8  48E7 0108                movem.l    -[A7], D7,A4
  1678. 000014AC  287C 0000 03F6           movea.l    A4, 0x3F6
  1679. 000014B2  0C54 0000                cmpi.w     [A4], 0x0
  1680. 000014B6  5EC7                     sgt        D7
  1681. 000014B8  4407                     neg.b      D7
  1682. 000014BA  1D47 0008                move.b     [A6 + 0x8], D7
  1683. 000014BE  4CDF 1080                movem.l    D7,A4, [A7]+
  1684. 000014C2  4E5E                     unlink     A6
  1685. 000014C4  4E75                     rts
  1686. fn000014C6:
  1687. 000014C6  4E56 FFC2                link       A6, -0x003E
  1688. 000014CA  48E7 0108                movem.l    -[A7], D7,A4
  1689. 000014CE  2D7C 0000 0214 FFF8      move.l     [A6 - 0x8], 0x214
  1690. 000014D6  2D7C 0000 0398 FFFC      move.l     [A6 - 0x4], 0x398
  1691. 000014DE  286E FFF8                movea.l    A4, [A6 - 0x8]
  1692. 000014E2  3E14                     move.w     D7, [A4]
  1693. 000014E4  4447                     neg.w      D7
  1694. 000014E6  3D47 0008                move.w     [A6 + 0x8], D7
  1695. 000014EA  558F                     subq.l     A7, 2
  1696. 000014EC  4EBA FFB6                jsr        [PC - 0x4A /* 000014A4 */]
  1697. 000014F0  1E1F                     move.b     D7, [A7]+
  1698. 000014F2  6700 0038                beq        +0x3A /* 0000152C */
  1699. 000014F6  42AE FFCE                clr.l      [A6 - 0x32]
  1700. 000014FA  42AE FFD4                clr.l      [A6 - 0x2C]
  1701. 000014FE  286E FFF8                movea.l    A4, [A6 - 0x8]
  1702. 00001502  3E14                     move.w     D7, [A4]
  1703. 00001504  4447                     neg.w      D7
  1704. 00001506  3D47 FFD8                move.w     [A6 - 0x28], D7
  1705. 0000150A  286E FFFC                movea.l    A4, [A6 - 0x4]
  1706. 0000150E  2D54 FFF2                move.l     [A6 - 0xE], [A4]
  1707. 00001512  558F                     subq.l     A7, 2
  1708. 00001514  49EE FFC2                lea.l      A4, [A6 - 0x3E]
  1709. 00001518  2F0C                     move.l     -[A7], A4
  1710. 0000151A  4227                     clr.b      -[A7]
  1711. 0000151C  4EBA 0D0E                jsr        [PC + 0xD0E /* 0000222C */]
  1712. 00001520  3E1F                     move.w     D7, [A7]+
  1713. 00001522  3D47 FFF6                move.w     [A6 - 0xA], D7
  1714. 00001526  3D6E FFD8 0008           move.w     [A6 + 0x8], [A6 - 0x28]
  1715. label0000152C:
  1716. 0000152C  4CDF 1080                movem.l    D7,A4, [A7]+
  1717. 00001530  4E5E                     unlink     A6
  1718. 00001532  4E75                     rts
  1719. fn00001534:
  1720. 00001534  4E56 FE38                link       A6, -0x01C8
  1721. 00001538  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  1722. 0000153C  426E FEDC                clr.w      [A6 - 0x124]
  1723. 00001540  4EFA 0030                jmp        [PC + 0x30 /* 00001572 */]
  1724. label00001544:
  1725. 00001544  422D FFFA                clr.b      [A5 - 0x6]
  1726. 00001548  4EFA 003C                jmp        [PC + 0x3C /* 00001586 */]
  1727. label0000154C:
  1728. 0000154C  1B7C 0001 FFFA           move.b     [A5 - 0x6], 0x1
  1729. 00001552  486D FFEA                pea.l      [A5 - 0x16]
  1730. 00001556  3F3C 000F                move.w     -[A7], 0xF
  1731. 0000155A  1F3C 0001                move.b     -[A7], 0x1
  1732. 0000155E  487A 05BC                pea.l      [PC + 0x5BC /* 00001B1C, value 0xB444F43, pstring "DOCterDeBug" */]
  1733. 00001562  4EBA 06E2                jsr        [PC + 0x6E2 /* 00001C46 */]
  1734. 00001566  486D FFEA                pea.l      [A5 - 0x16]
  1735. 0000156A  4EBA 0848                jsr        [PC + 0x848 /* 00001DB4 */]
  1736. 0000156E  4EFA 0016                jmp        [PC + 0x16 /* 00001586 */]
  1737. label00001572:
  1738. 00001572  3E2E FEDC                move.w     D7, [A6 - 0x124]
  1739. 00001576  0C47 0000                cmpi.w     D7, 0x0
  1740. 0000157A  6700 FFC8                beq        -0x36 /* 00001544 */
  1741. 0000157E  0C47 0001                cmpi.w     D7, 0x1
  1742. 00001582  6700 FFC8                beq        -0x36 /* 0000154C */
  1743. label00001586:
  1744. 00001586  49ED FFCA                lea.l      A4, [A5 - 0x36]
  1745. 0000158A  47FA 0570                lea.l      A3, [PC + 0x570 /* 00001AFC, value 0x0, cstring "" */]
  1746. 0000158E  3E3C 001F                move.w     D7, 0x1F
  1747. label00001592:
  1748. 00001592  18DB                     move.b     [A4]+, [A3]+
  1749. 00001594  51CF FFFC                dbf        D7, -0x6 /* 00001592 */
  1750. 00001598  422D FF2A                clr.b      [A5 - 0xD6]
  1751. 0000159C  598F                     subq.l     A7, 4
  1752. 0000159E  2F3C 0000 0078           move.l     -[A7], 0x78 /* 'x' */
  1753. 000015A4  4EBA 0B66                jsr        [PC + 0xB66 /* 0000210C */]
  1754. 000015A8  2E1F                     move.l     D7, [A7]+
  1755. 000015AA  2B47 FFBE                move.l     [A5 - 0x42], D7
  1756. 000015AE  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  1757. 000015B2  4EBA 0B70                jsr        [PC + 0xB70 /* 00002124 */]
  1758. 000015B6  598F                     subq.l     A7, 4
  1759. 000015B8  2F3C 0000 0010           move.l     -[A7], 0x10
  1760. 000015BE  4EBA 0B4C                jsr        [PC + 0xB4C /* 0000210C */]
  1761. 000015C2  2E1F                     move.l     D7, [A7]+
  1762. 000015C4  2D47 FEC4                move.l     [A6 - 0x13C], D7
  1763. 000015C8  2D6D FEA6 FFF8           move.l     [A6 - 0x8], [A5 - 0x15A]
  1764. 000015CE  2D6D FEAA FFFC           move.l     [A6 - 0x4], [A5 - 0x156]
  1765. 000015D4  598F                     subq.l     A7, 4
  1766. 000015D6  3F3C 0004                move.w     -[A7], 0x4
  1767. 000015DA  A9B9                     syscall    GetCursor
  1768. 000015DC  2E1F                     move.l     D7, [A7]+
  1769. 000015DE  2B47 FF52                move.l     [A5 - 0xAE], D7
  1770. 000015E2  286D FF52                movea.l    A4, [A5 - 0xAE]
  1771. 000015E6  2854                     movea.l    A4, [A4]
  1772. 000015E8  2F0C                     move.l     -[A7], A4
  1773. 000015EA  A851                     syscall    SetCursor
  1774. 000015EC  598F                     subq.l     A7, 4
  1775. 000015EE  3F3C 0080                move.w     -[A7], 0x80
  1776. 000015F2  A9BA                     syscall    GetString
  1777. 000015F4  2E1F                     move.l     D7, [A7]+
  1778. 000015F6  2D47 FECC                move.l     [A6 - 0x134], D7
  1779. 000015FA  286E FECC                movea.l    A4, [A6 - 0x134]
  1780. 000015FE  2854                     movea.l    A4, [A4]
  1781. 00001600  47EE FEE6                lea.l      A3, [A6 - 0x11A]
  1782. 00001604  4247                     clr.w      D7
  1783. 00001606  1E14                     move.b     D7, [A4]
  1784. label00001608:
  1785. 00001608  16DC                     move.b     [A3]+, [A4]+
  1786. 0000160A  51CF FFFC                dbf        D7, -0x6 /* 00001608 */
  1787. 0000160E  486E FEE6                pea.l      [A6 - 0x11A]
  1788. 00001612  486E FED4                pea.l      [A6 - 0x12C]
  1789. 00001616  4EBA 0C2A                jsr        [PC + 0xC2A /* 00002242 */]
  1790. 0000161A  598F                     subq.l     A7, 4
  1791. 0000161C  3F3C 0081                move.w     -[A7], 0x81
  1792. 00001620  A9BA                     syscall    GetString
  1793. 00001622  2E1F                     move.l     D7, [A7]+
  1794. 00001624  2D47 FECC                move.l     [A6 - 0x134], D7
  1795. 00001628  286E FECC                movea.l    A4, [A6 - 0x134]
  1796. 0000162C  2854                     movea.l    A4, [A4]
  1797. 0000162E  47EE FEE6                lea.l      A3, [A6 - 0x11A]
  1798. 00001632  4247                     clr.w      D7
  1799. 00001634  1E14                     move.b     D7, [A4]
  1800. label00001636:
  1801. 00001636  16DC                     move.b     [A3]+, [A4]+
  1802. 00001638  51CF FFFC                dbf        D7, -0x6 /* 00001636 */
  1803. 0000163C  486E FEE6                pea.l      [A6 - 0x11A]
  1804. 00001640  486E FED0                pea.l      [A6 - 0x130]
  1805. 00001644  4EBA 0BFC                jsr        [PC + 0xBFC /* 00002242 */]
  1806. 00001648  426D FF56                clr.w      [A5 - 0xAA]
  1807. 0000164C  3D7C 07D0 FFF4           move.w     [A6 - 0xC], 0x7D0
  1808. 00001652  558F                     subq.l     A7, 2
  1809. 00001654  2F3A 04A2                move.l     -[A7], [PC + 0x4A2 /* 00001AF8, value 0x50494354 'PICT', cstring "PICT" */]
  1810. 00001658  A80D                     syscall    Count1Resources
  1811. 0000165A  3E1F                     move.w     D7, [A7]+
  1812. 0000165C  48C7                     ext.l      D7
  1813. 0000165E  2D47 FFE6                move.l     [A6 - 0x1A], D7
  1814. 00001662  4AAE FFE6                tst.l      [A6 - 0x1A]
  1815. 00001666  6700 00BC                beq        +0xBE /* 00001724 */
  1816. label0000166A:
  1817. 0000166A  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1818. 0000166E  5247                     addq.w     D7, 1
  1819. 00001670  3B47 FF56                move.w     [A5 - 0xAA], D7
  1820. 00001674  3E2E FFF4                move.w     D7, [A6 - 0xC]
  1821. 00001678  5247                     addq.w     D7, 1
  1822. 0000167A  3D47 FFF4                move.w     [A6 - 0xC], D7
  1823. 0000167E  598F                     subq.l     A7, 4
  1824. 00001680  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  1825. 00001684  A9BC                     syscall    GetPicture
  1826. 00001686  2E1F                     move.l     D7, [A7]+
  1827. 00001688  2D47 FEC0                move.l     [A6 - 0x140], D7
  1828. 0000168C  286E FEC0                movea.l    A4, [A6 - 0x140]
  1829. 00001690  2854                     movea.l    A4, [A4]
  1830. 00001692  3E14                     move.w     D7, [A4]
  1831. 00001694  48C7                     ext.l      D7
  1832. 00001696  2D47 FFEA                move.l     [A6 - 0x16], D7
  1833. 0000169A  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1834. 0000169E  5347                     subq.w     D7, 1
  1835. 000016A0  E54F                     lsl        D7.w, 2
  1836. 000016A2  49ED FF58                lea.l      A4, [A5 - 0xA8]
  1837. 000016A6  2F34 7000                move.l     -[A7], [A4 + D7.w]
  1838. 000016AA  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  1839. 000016AE  4EBA 0A68                jsr        [PC + 0xA68 /* 00002118 */]
  1840. 000016B2  286E FEC0                movea.l    A4, [A6 - 0x140]
  1841. 000016B6  2F14                     move.l     -[A7], [A4]
  1842. 000016B8  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1843. 000016BC  5347                     subq.w     D7, 1
  1844. 000016BE  E54F                     lsl        D7.w, 2
  1845. 000016C0  49ED FF58                lea.l      A4, [A5 - 0xA8]
  1846. 000016C4  2874 7000                movea.l    A4, [A4 + D7.w]
  1847. 000016C8  2F14                     move.l     -[A7], [A4]
  1848. 000016CA  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  1849. 000016CE  4EBA 0A6E                jsr        [PC + 0xA6E /* 0000213E */]
  1850. 000016D2  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1851. 000016D6  5347                     subq.w     D7, 1
  1852. 000016D8  E54F                     lsl        D7.w, 2
  1853. 000016DA  49ED FF58                lea.l      A4, [A5 - 0xA8]
  1854. 000016DE  4AB4 7000                tst.l      [A4 + D7.w]
  1855. 000016E2  57C7                     seq        D7
  1856. 000016E4  4407                     neg.b      D7
  1857. 000016E6  0C6D 000A FF56           cmpi.w     [A5 - 0xAA], 0xA /* '\n' */
  1858. 000016EC  57C6                     seq        D6
  1859. 000016EE  4406                     neg.b      D6
  1860. 000016F0  8C07                     or.b       D6, D7
  1861. 000016F2  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1862. 000016F6  48C7                     ext.l      D7
  1863. 000016F8  BEAE FFE6                cmp.l      D7, [A6 - 0x1A]
  1864. 000016FC  57C7                     seq        D7
  1865. 000016FE  4407                     neg.b      D7
  1866. 00001700  8E06                     or.b       D7, D6
  1867. 00001702  6700 FF66                beq        -0x98 /* 0000166A */
  1868. 00001706  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1869. 0000170A  5347                     subq.w     D7, 1
  1870. 0000170C  E54F                     lsl        D7.w, 2
  1871. 0000170E  49ED FF58                lea.l      A4, [A5 - 0xA8]
  1872. 00001712  4AB4 7000                tst.l      [A4 + D7.w]
  1873. 00001716  6600 000C                bne        +0xE /* 00001724 */
  1874. 0000171A  3E2D FF56                move.w     D7, [A5 - 0xAA]
  1875. 0000171E  5347                     subq.w     D7, 1
  1876. 00001720  3B47 FF56                move.w     [A5 - 0xAA], D7
  1877. label00001724:
  1878. 00001724  598F                     subq.l     A7, 4
  1879. 00001726  3F3C 0001                move.w     -[A7], 0x1
  1880. 0000172A  42A7                     clr.l      -[A7]
  1881. 0000172C  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  1882. 00001732  A9BD                     syscall    GetNewWindow
  1883. 00001734  2E1F                     move.l     D7, [A7]+
  1884. 00001736  2B47 FF2E                move.l     [A5 - 0xD2], D7
  1885. 0000173A  3E2E FFFE                move.w     D7, [A6 - 0x2]
  1886. 0000173E  9E6E FFFA                sub.w      D7, [A6 - 0x6]
  1887. 00001742  0447 000A                subi.w     D7, 0xA /* '\n' */
  1888. 00001746  3D47 FED8                move.w     [A6 - 0x128], D7
  1889. 0000174A  3E2E FFFC                move.w     D7, [A6 - 0x4]
  1890. 0000174E  9E6E FFF8                sub.w      D7, [A6 - 0x8]
  1891. 00001752  0447 0032                subi.w     D7, 0x32 /* '2' */
  1892. 00001756  3D47 FEDA                move.w     [A6 - 0x126], D7
  1893. 0000175A  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1894. 0000175E  3F2E FED8                move.w     -[A7], [A6 - 0x128]
  1895. 00001762  3F2E FEDA                move.w     -[A7], [A6 - 0x126]
  1896. 00001766  4227                     clr.b      -[A7]
  1897. 00001768  A91D                     syscall    SizeWindow
  1898. 0000176A  486D FF2E                pea.l      [A5 - 0xD2]
  1899. 0000176E  1F3C 0001                move.b     -[A7], 0x1
  1900. 00001772  4EBA E8F8                jsr        [PC - 0x1708 /* 0000006C */]
  1901. 00001776  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1902. 0000177A  A873                     syscall    SetPort
  1903. 0000177C  2D6D FF2E FEC8           move.l     [A6 - 0x138], [A5 - 0xD2]
  1904. 00001782  2F2E FEC4                move.l     -[A7], [A6 - 0x13C]
  1905. 00001786  4EBA 099C                jsr        [PC + 0x99C /* 00002124 */]
  1906. 0000178A  286E FEC4                movea.l    A4, [A6 - 0x13C]
  1907. 0000178E  2854                     movea.l    A4, [A4]
  1908. 00001790  486E FE38                pea.l      [A6 - 0x1C8]
  1909. 00001794  266D FF2E                movea.l    A3, [A5 - 0xD2]
  1910. 00001798  486B 0010                pea.l      [A3 + 0x10]
  1911. 0000179C  4EBA E866                jsr        [PC - 0x179A /* 00000004 */]
  1912. 000017A0  588F                     addq.l     A7, 4
  1913. 000017A2  28AE FE38                move.l     [A4], [A6 - 0x1C8]
  1914. 000017A6  296E FE3C 0004           move.l     [A4 + 0x4], [A6 - 0x1C4]
  1915. 000017AC  286E FEC4                movea.l    A4, [A6 - 0x13C]
  1916. 000017B0  2854                     movea.l    A4, [A4]
  1917. 000017B2  486E FE38                pea.l      [A6 - 0x1C8]
  1918. 000017B6  266D FF2E                movea.l    A3, [A5 - 0xD2]
  1919. 000017BA  486B 0010                pea.l      [A3 + 0x10]
  1920. 000017BE  4EBA E844                jsr        [PC - 0x17BC /* 00000004 */]
  1921. 000017C2  588F                     addq.l     A7, 4
  1922. 000017C4  296E FE38 0008           move.l     [A4 + 0x8], [A6 - 0x1C8]
  1923. 000017CA  296E FE3C 000C           move.l     [A4 + 0xC], [A6 - 0x1C4]
  1924. 000017D0  286E FEC8                movea.l    A4, [A6 - 0x138]
  1925. 000017D4  296E FEC4 0082           move.l     [A4 + 0x82], [A6 - 0x13C]
  1926. 000017DA  2F2E FEC4                move.l     -[A7], [A6 - 0x13C]
  1927. 000017DE  4EBA 094E                jsr        [PC + 0x94E /* 0000212E */]
  1928. 000017E2  558F                     subq.l     A7, 2
  1929. 000017E4  2F2E FED0                move.l     -[A7], [A6 - 0x130]
  1930. 000017E8  A86B                     syscall    LoWord
  1931. 000017EA  3E1F                     move.w     D7, [A7]+
  1932. 000017EC  3F07                     move.w     -[A7], D7
  1933. 000017EE  A887                     syscall    TextFont
  1934. 000017F0  558F                     subq.l     A7, 2
  1935. 000017F2  2F2E FED4                move.l     -[A7], [A6 - 0x12C]
  1936. 000017F6  A86B                     syscall    LoWord
  1937. 000017F8  3E1F                     move.w     D7, [A7]+
  1938. 000017FA  3F07                     move.w     -[A7], D7
  1939. 000017FC  A88A                     syscall    TextSize
  1940. 000017FE  558F                     subq.l     A7, 2
  1941. 00001800  2F2E FED0                move.l     -[A7], [A6 - 0x130]
  1942. 00001804  A86B                     syscall    LoWord
  1943. 00001806  3E1F                     move.w     D7, [A7]+
  1944. 00001808  3B47 FFC2                move.w     [A5 - 0x3E], D7
  1945. 0000180C  558F                     subq.l     A7, 2
  1946. 0000180E  2F2E FED4                move.l     -[A7], [A6 - 0x12C]
  1947. 00001812  A86B                     syscall    LoWord
  1948. 00001814  3E1F                     move.w     D7, [A7]+
  1949. 00001816  3B47 FFC4                move.w     [A5 - 0x3C], D7
  1950. 0000181A  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  1951. 0000181E  A883                     syscall    DrawChar
  1952. 00001820  1F3C 0001                move.b     -[A7], 0x1
  1953. 00001824  A903                     syscall    SetFontLock
  1954. 00001826  598F                     subq.l     A7, 4
  1955. 00001828  286D FF2E                movea.l    A4, [A5 - 0xD2]
  1956. 0000182C  486C 0010                pea.l      [A4 + 0x10]
  1957. 00001830  286D FF2E                movea.l    A4, [A5 - 0xD2]
  1958. 00001834  486C 0010                pea.l      [A4 + 0x10]
  1959. 00001838  A9D2                     syscall    TENew
  1960. 0000183A  2E1F                     move.l     D7, [A7]+
  1961. 0000183C  2B47 FF4A                move.l     [A5 - 0xB6], D7
  1962. 00001840  49FA E9AE                lea.l      A4, [PC - 0x1652 /* 000001F0, value 0x4E56FFF6 */]
  1963. 00001844  2F0C                     move.l     -[A7], A4
  1964. 00001846  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  1965. 0000184A  4EBA 0A1E                jsr        [PC + 0xA1E /* 0000226A */]
  1966. 0000184E  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1967. 00001852  2854                     movea.l    A4, [A4]
  1968. 00001854  396E FED2 004A           move.w     [A4 + 0x4A], [A6 - 0x12E]
  1969. 0000185A  486E FEB8                pea.l      [A6 - 0x148]
  1970. 0000185E  A88B                     syscall    GetFontInfo
  1971. 00001860  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1972. 00001864  2854                     movea.l    A4, [A4]
  1973. 00001866  396E FED6 0050           move.w     [A4 + 0x50], [A6 - 0x12A]
  1974. 0000186C  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1975. 00001870  2854                     movea.l    A4, [A4]
  1976. 00001872  396E FEB8 001A           move.w     [A4 + 0x1A], [A6 - 0x148]
  1977. 00001878  286D FF4A                movea.l    A4, [A5 - 0xB6]
  1978. 0000187C  2854                     movea.l    A4, [A4]
  1979. 0000187E  3E2E FEB8                move.w     D7, [A6 - 0x148]
  1980. 00001882  DE6E FEBA                add.w      D7, [A6 - 0x146]
  1981. 00001886  DE6E FEBE                add.w      D7, [A6 - 0x142]
  1982. 0000188A  3947 0018                move.w     [A4 + 0x18], D7
  1983. 0000188E  598F                     subq.l     A7, 4
  1984. 00001890  3F3C 0100                move.w     -[A7], 0x100
  1985. 00001894  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  1986. 00001898  A9BE                     syscall    GetNewControl
  1987. 0000189A  2E1F                     move.l     D7, [A7]+
  1988. 0000189C  2B47 FF4E                move.l     [A5 - 0xB2], D7
  1989. 000018A0  286D FF2E                movea.l    A4, [A5 - 0xD2]
  1990. 000018A4  486C 0010                pea.l      [A4 + 0x10]
  1991. 000018A8  A928                     syscall    InvalRect
  1992. 000018AA  4EBA ED10                jsr        [PC - 0x12F0 /* 000005BC */]
  1993. 000018AE  486D FF3A                pea.l      [A5 - 0xC6]
  1994. 000018B2  3E2E FFFA                move.w     D7, [A6 - 0x6]
  1995. 000018B6  5847                     addq.w     D7, 4
  1996. 000018B8  3F07                     move.w     -[A7], D7
  1997. 000018BA  3E2E FFF8                move.w     D7, [A6 - 0x8]
  1998. 000018BE  0647 0018                addi.w     D7, 0x18
  1999. 000018C2  3F07                     move.w     -[A7], D7
  2000. 000018C4  3E2E FFFE                move.w     D7, [A6 - 0x2]
  2001. 000018C8  5947                     subq.w     D7, 4
  2002. 000018CA  3F07                     move.w     -[A7], D7
  2003. 000018CC  3E2E FFFC                move.w     D7, [A6 - 0x4]
  2004. 000018D0  5947                     subq.w     D7, 4
  2005. 000018D2  3F07                     move.w     -[A7], D7
  2006. 000018D4  A8A7                     syscall    SetRect
  2007. 000018D6  486D FF42                pea.l      [A5 - 0xBE]
  2008. 000018DA  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  2009. 000018DE  3E2E FFF8                move.w     D7, [A6 - 0x8]
  2010. 000018E2  0647 0018                addi.w     D7, 0x18
  2011. 000018E6  3F07                     move.w     -[A7], D7
  2012. 000018E8  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  2013. 000018EC  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  2014. 000018F0  A8A7                     syscall    SetRect
  2015. 000018F2  558F                     subq.l     A7, 2
  2016. 000018F4  4EBA FBD0                jsr        [PC - 0x430 /* 000014C6 */]
  2017. 000018F8  3E1F                     move.w     D7, [A7]+
  2018. 000018FA  3D47 FFF0                move.w     [A6 - 0x10], D7
  2019. 000018FE  486E FEE6                pea.l      [A6 - 0x11A]
  2020. 00001902  486E FFF2                pea.l      [A6 - 0xE]
  2021. 00001906  486E FEE2                pea.l      [A6 - 0x11E]
  2022. 0000190A  A9F5                     syscall    GetAppParms
  2023. 0000190C  2F2D FF2E                move.l     -[A7], [A5 - 0xD2]
  2024. 00001910  486E FEE6                pea.l      [A6 - 0x11A]
  2025. 00001914  A91A                     syscall    SetWTitle
  2026. 00001916  558F                     subq.l     A7, 2
  2027. 00001918  486E FEE6                pea.l      [A6 - 0x11A]
  2028. 0000191C  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  2029. 00001920  486E FFEE                pea.l      [A6 - 0x12]
  2030. 00001924  4EBA 0840                jsr        [PC + 0x840 /* 00002166 */]
  2031. 00001928  3E1F                     move.w     D7, [A7]+
  2032. 0000192A  3D47 FFF6                move.w     [A6 - 0xA], D7
  2033. 0000192E  4A6E FFF6                tst.w      [A6 - 0xA]
  2034. 00001932  6700 002C                beq        +0x2E /* 00001960 */
  2035. 00001936  558F                     subq.l     A7, 2
  2036. 00001938  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  2037. 0000193C  4EBA 0862                jsr        [PC + 0x862 /* 000021A0 */]
  2038. 00001940  3E1F                     move.w     D7, [A7]+
  2039. 00001942  3D47 FFF6                move.w     [A6 - 0xA], D7
  2040. 00001946  3F3C 0001                move.w     -[A7], 0x1
  2041. 0000194A  A9C8                     syscall    SysBeep
  2042. 0000194C  3F3C 0001                move.w     -[A7], 0x1
  2043. 00001950  A9C8                     syscall    SysBeep
  2044. 00001952  3F3C 0001                move.w     -[A7], 0x1
  2045. 00001956  A9C8                     syscall    SysBeep
  2046. 00001958  3F3C 0001                move.w     -[A7], 0x1
  2047. 0000195C  A9C8                     syscall    SysBeep
  2048. 0000195E  A9F4                     syscall    ExitToShell
  2049. label00001960:
  2050. 00001960  558F                     subq.l     A7, 2
  2051. 00001962  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  2052. 00001966  486E FEDE                pea.l      [A6 - 0x122]
  2053. 0000196A  4EBA 089C                jsr        [PC + 0x89C /* 00002208 */]
  2054. 0000196E  3E1F                     move.w     D7, [A7]+
  2055. 00001970  3D47 FFF6                move.w     [A6 - 0xA], D7
  2056. 00001974  0CAE 0000 7530 FEDE      cmpi.l     [A6 - 0x122], 0x7530 /* 'u0' */
  2057. 0000197C  6F00 002C                ble        +0x2E /* 000019AA */
  2058. 00001980  558F                     subq.l     A7, 2
  2059. 00001982  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  2060. 00001986  4EBA 0818                jsr        [PC + 0x818 /* 000021A0 */]
  2061. 0000198A  3E1F                     move.w     D7, [A7]+
  2062. 0000198C  3D47 FFF6                move.w     [A6 - 0xA], D7
  2063. 00001990  3F3C 0001                move.w     -[A7], 0x1
  2064. 00001994  A9C8                     syscall    SysBeep
  2065. 00001996  3F3C 0001                move.w     -[A7], 0x1
  2066. 0000199A  A9C8                     syscall    SysBeep
  2067. 0000199C  3F3C 0001                move.w     -[A7], 0x1
  2068. 000019A0  A9C8                     syscall    SysBeep
  2069. 000019A2  3F3C 0001                move.w     -[A7], 0x1
  2070. 000019A6  A9C8                     syscall    SysBeep
  2071. 000019A8  A9F4                     syscall    ExitToShell
  2072. label000019AA:
  2073. 000019AA  286D FF4A                movea.l    A4, [A5 - 0xB6]
  2074. 000019AE  2854                     movea.l    A4, [A4]
  2075. 000019B0  2F2C 003E                move.l     -[A7], [A4 + 0x3E]
  2076. 000019B4  2F2E FEDE                move.l     -[A7], [A6 - 0x122]
  2077. 000019B8  4EBA 075E                jsr        [PC + 0x75E /* 00002118 */]
  2078. 000019BC  558F                     subq.l     A7, 2
  2079. 000019BE  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  2080. 000019C2  486E FEDE                pea.l      [A6 - 0x122]
  2081. 000019C6  286D FF4A                movea.l    A4, [A5 - 0xB6]
  2082. 000019CA  2854                     movea.l    A4, [A4]
  2083. 000019CC  286C 003E                movea.l    A4, [A4 + 0x3E]
  2084. 000019D0  2F14                     move.l     -[A7], [A4]
  2085. 000019D2  4EBA 07E8                jsr        [PC + 0x7E8 /* 000021BC */]
  2086. 000019D6  3E1F                     move.w     D7, [A7]+
  2087. 000019D8  3D47 FFF6                move.w     [A6 - 0xA], D7
  2088. 000019DC  558F                     subq.l     A7, 2
  2089. 000019DE  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  2090. 000019E2  4EBA 07BC                jsr        [PC + 0x7BC /* 000021A0 */]
  2091. 000019E6  3E1F                     move.w     D7, [A7]+
  2092. 000019E8  3D47 FFF6                move.w     [A6 - 0xA], D7
  2093. 000019EC  286D FF4A                movea.l    A4, [A5 - 0xB6]
  2094. 000019F0  2854                     movea.l    A4, [A4]
  2095. 000019F2  396E FEE0 003C           move.w     [A4 + 0x3C], [A6 - 0x120]
  2096. 000019F8  0C6D 0000 FF56           cmpi.w     [A5 - 0xAA], 0x0
  2097. 000019FE  6F00 00E4                ble        +0xE6 /* 00001AE4 */
  2098. 00001A02  3B7A 00F2 FFBC           move.w     [A5 - 0x44], [PC + 0xF2 /* 00001AF6, value 0x1CA */]
  2099. 00001A08  42AE FFE6                clr.l      [A6 - 0x1A]
  2100. 00001A0C  426E FFF4                clr.w      [A6 - 0xC]
  2101. 00001A10  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  2102. 00001A14  4EBA 070E                jsr        [PC + 0x70E /* 00002124 */]
  2103. label00001A18:
  2104. 00001A18  598F                     subq.l     A7, 4
  2105. 00001A1A  286D FF4A                movea.l    A4, [A5 - 0xB6]
  2106. 00001A1E  2854                     movea.l    A4, [A4]
  2107. 00001A20  2F2C 003E                move.l     -[A7], [A4 + 0x3E]
  2108. 00001A24  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  2109. 00001A28  49ED FFBC                lea.l      A4, [A5 - 0x44]
  2110. 00001A2C  2E0C                     move.l     D7, A4
  2111. 00001A2E  5287                     addq.l     D7, 1
  2112. 00001A30  2F07                     move.l     -[A7], D7
  2113. 00001A32  2F3C 0000 0001           move.l     -[A7], 0x1
  2114. 00001A38  42A7                     clr.l      -[A7]
  2115. 00001A3A  2F3C 0000 0001           move.l     -[A7], 0x1
  2116. 00001A40  A9E0                     syscall    Munger
  2117. 00001A42  2E1F                     move.l     D7, [A7]+
  2118. 00001A44  2D47 FFE6                move.l     [A6 - 0x1A], D7
  2119. 00001A48  0CAE FFFF FFFF FFE6      cmpi.l     [A6 - 0x1A], 0xFFFFFFFF
  2120. 00001A50  5EC7                     sgt        D7
  2121. 00001A52  4407                     neg.b      D7
  2122. 00001A54  3C2E FFF4                move.w     D6, [A6 - 0xC]
  2123. 00001A58  BC6D FF56                cmp.w      D6, [A5 - 0xAA]
  2124. 00001A5C  5FC6                     sle        D6
  2125. 00001A5E  4406                     neg.b      D6
  2126. 00001A60  CC07                     and.b      D6, D7
  2127. 00001A62  286D FF4A                movea.l    A4, [A5 - 0xB6]
  2128. 00001A66  2854                     movea.l    A4, [A4]
  2129. 00001A68  3E2C 003C                move.w     D7, [A4 + 0x3C]
  2130. 00001A6C  48C7                     ext.l      D7
  2131. 00001A6E  2A2E FFE6                move.l     D5, [A6 - 0x1A]
  2132. 00001A72  BA87                     cmp.l      D5, D7
  2133. 00001A74  5FC7                     sle        D7
  2134. 00001A76  4407                     neg.b      D7
  2135. 00001A78  CE06                     and.b      D7, D6
  2136. 00001A7A  6700 0016                beq        +0x18 /* 00001A92 */
  2137. 00001A7E  3E2E FFF4                move.w     D7, [A6 - 0xC]
  2138. 00001A82  5247                     addq.w     D7, 1
  2139. 00001A84  3D47 FFF4                move.w     [A6 - 0xC], D7
  2140. 00001A88  2E2E FFE6                move.l     D7, [A6 - 0x1A]
  2141. 00001A8C  5287                     addq.l     D7, 1
  2142. 00001A8E  2D47 FFE6                move.l     [A6 - 0x1A], D7
  2143. label00001A92:
  2144. 00001A92  0CAE 0000 0000 FFE6      cmpi.l     [A6 - 0x1A], 0x0
  2145. 00001A9A  5DC7                     slt        D7
  2146. 00001A9C  4407                     neg.b      D7
  2147. 00001A9E  286D FF4A                movea.l    A4, [A5 - 0xB6]
  2148. 00001AA2  2854                     movea.l    A4, [A4]
  2149. 00001AA4  3C2C 003C                move.w     D6, [A4 + 0x3C]
  2150. 00001AA8  48C6                     ext.l      D6
  2151. 00001AAA  2A2E FFE6                move.l     D5, [A6 - 0x1A]
  2152. 00001AAE  BA86                     cmp.l      D5, D6
  2153. 00001AB0  5CC6                     sge        D6
  2154. 00001AB2  4406                     neg.b      D6
  2155. 00001AB4  8C07                     or.b       D6, D7
  2156. 00001AB6  3E2E FFF4                move.w     D7, [A6 - 0xC]
  2157. 00001ABA  BE6D FF56                cmp.w      D7, [A5 - 0xAA]
  2158. 00001ABE  57C7                     seq        D7
  2159. 00001AC0  4407                     neg.b      D7
  2160. 00001AC2  8E06                     or.b       D7, D6
  2161. 00001AC4  6700 FF52                beq        -0xAC /* 00001A18 */
  2162. 00001AC8  2F2D FF4A                move.l     -[A7], [A5 - 0xB6]
  2163. 00001ACC  4EBA 0660                jsr        [PC + 0x660 /* 0000212E */]
  2164. 00001AD0  558F                     subq.l     A7, 2
  2165. 00001AD2  3F2D FF56                move.w     -[A7], [A5 - 0xAA]
  2166. 00001AD6  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2167. 00001ADA  4EBA E562                jsr        [PC - 0x1A9E /* 0000003E */]
  2168. 00001ADE  3E1F                     move.w     D7, [A7]+
  2169. 00001AE0  3B47 FF56                move.w     [A5 - 0xAA], D7
  2170. label00001AE4:
  2171. 00001AE4  4EBA EC5A                jsr        [PC - 0x13A6 /* 00000740 */]
  2172. 00001AE8  4EBA E76A                jsr        [PC - 0x1896 /* 00000254 */]
  2173. 00001AEC  A850                     syscall    InitCursor
  2174. 00001AEE  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  2175. 00001AF2  4E5E                     unlink     A6
  2176. 00001AF4  4E75                     rts
  2177. 00001AF6  01CA                     .incomplete
  2178. 00001AF8  5049                     addq.w     A1, 8
  2179. 00001AFA  4354                     chk.w      D1, [A4]
  2180. 00001AFC  0000 0000                ori.b      D0, 0x0
  2181. 00001B00  0000 0000                ori.b      D0, 0x0
  2182. 00001B04  0000 0000                ori.b      D0, 0x0
  2183. 00001B08  0000 0000                ori.b      D0, 0x0
  2184. 00001B0C  F800 0001                .tblXX     0xF800, 0x0001 // unimplemented
  2185. 00001B10  F800 0001                .tblXX     0xF800, 0x0001 // unimplemented
  2186. 00001B14  FC00 BF01                .unknown   0xFC00 0xBF01 (W = 6)
  2187. 00001B18  FFFF                     .invalid   <<F/7/7>>
  2188. 00001B1A  FFFF                     .invalid   <<F/7/7>>
  2189. 00001B1C  0B44                     bchg       D4, D5
  2190. 00001B1E  4F43                     chk.w      D7, D3
  2191. 00001B20  7465                     moveq.l    D2, 0x65
  2192. 00001B22  7244                     moveq.l    D1, 0x44
  2193. 00001B24  6542                     bcs        +0x44 /* 00001B68 */
  2194. 00001B26  7567                     moveq.l    D2, 0x67
  2195. fn00001B28:
  2196. 00001B28  4E56 FFFE                link       A6, -0x0002
  2197. 00001B2C  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  2198. 00001B30  3E3C 0001                move.w     D7, 0x1
  2199. 00001B34  3D47 FFFE                move.w     [A6 - 0x2], D7
  2200. 00001B38  0C47 0003                cmpi.w     D7, 0x3
  2201. 00001B3C  6E00 003C                bgt        +0x3E /* 00001B7A */
  2202. label00001B40:
  2203. 00001B40  3C07                     move.w     D6, D7
  2204. 00001B42  5346                     subq.w     D6, 1
  2205. 00001B44  E54E                     lsl        D6.w, 2
  2206. 00001B46  49ED FF1E                lea.l      A4, [A5 - 0xE2]
  2207. 00001B4A  598F                     subq.l     A7, 4
  2208. 00001B4C  3F07                     move.w     -[A7], D7
  2209. 00001B4E  A9BF                     syscall    GetRMenu
  2210. 00001B50  2A1F                     move.l     D5, [A7]+
  2211. 00001B52  2985 6000                move.l     [A4 + D6.w], D5
  2212. 00001B56  3C07                     move.w     D6, D7
  2213. 00001B58  5346                     subq.w     D6, 1
  2214. 00001B5A  E54E                     lsl        D6.w, 2
  2215. 00001B5C  49ED FF1E                lea.l      A4, [A5 - 0xE2]
  2216. 00001B60  2F34 6000                move.l     -[A7], [A4 + D6.w]
  2217. 00001B64  4267                     clr.w      -[A7]
  2218. 00001B66  A935                     syscall    InsertMenu
  2219. label00001B68:
  2220. 00001B68  0C47 0003                cmpi.w     D7, 0x3
  2221. 00001B6C  6C00 000C                bge        +0xE /* 00001B7A */
  2222. 00001B70  5247                     addq.w     D7, 1
  2223. 00001B72  3D47 FFFE                move.w     [A6 - 0x2], D7
  2224. 00001B76  4EFA FFC8                jmp        [PC - 0x38 /* 00001B40 */]
  2225. label00001B7A:
  2226. 00001B7A  2F2D FF1E                move.l     -[A7], [A5 - 0xE2]
  2227. 00001B7E  2F3A 000E                move.l     -[A7], [PC + 0xE /* 00001B8E, value 0x44525652 'DRVR', cstring "DRVR,|" */]
  2228. 00001B82  A94D                     syscall    AppendResMenu/AddResMenu
  2229. 00001B84  A937                     syscall    DrawMenuBar
  2230. 00001B86  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  2231. 00001B8A  4E5E                     unlink     A6
  2232. 00001B8C  4E75                     rts
  2233. 00001B8E  4452                     neg.w      [A2]
  2234. 00001B90  5652                     addq.w     [A2], 3
  2235. label00001B92:
  2236. 00001B92  2C7C 0000 0000           movea.l    A6, 0x0
  2237. 00001B98  4E56 0000                link       A6, 0
  2238. 00001B9C  422D FF2C                clr.b      [A5 - 0xD4]
  2239. 00001BA0  3F3C FFFF                move.w     -[A7], 0xFFFF
  2240. 00001BA4  4267                     clr.w      -[A7]
  2241. 00001BA6  201F                     move.l     D0, [A7]+
  2242. 00001BA8  A032                     syscall    FlushEvents
  2243. 00001BAA  49ED FF1A                lea.l      A4, [A5 - 0xE6]
  2244. 00001BAE  2F0C                     move.l     -[A7], A4
  2245. 00001BB0  A86E                     syscall    InitGraf
  2246. 00001BB2  A8FE                     syscall    InitFonts
  2247. 00001BB4  A912                     syscall    InitWindows
  2248. 00001BB6  A930                     syscall    InitMenus
  2249. 00001BB8  A9CC                     syscall    TEInit
  2250. 00001BBA  42A7                     clr.l      -[A7]
  2251. 00001BBC  A97B                     syscall    InitDialogs
  2252. 00001BBE  4EBA F886                jsr        [PC - 0x77A /* 00001446 */]
  2253. 00001BC2  4EBA FF64                jsr        [PC - 0x9C /* 00001B28 */]
  2254. 00001BC6  4EBA F96C                jsr        [PC - 0x694 /* 00001534 */]
  2255. 00001BCA  4EBA 081E                jsr        [PC + 0x81E /* 000023EA */]
  2256. 00001BCE  558F                     subq.l     A7, 2
  2257. 00001BD0  4EBA 0868                jsr        [PC + 0x868 /* 0000243A */]
  2258. 00001BD4  3E1F                     move.w     D7, [A7]+
  2259. 00001BD6  4A47                     tst.w      D7
  2260. 00001BD8  6600 000A                bne        +0xC /* 00001BE4 */
  2261. 00001BDC  2F2D FFBE                move.l     -[A7], [A5 - 0x42]
  2262. 00001BE0  4EBA 06FE                jsr        [PC + 0x6FE /* 000022E0 */]
  2263. label00001BE4:
  2264. 00001BE4  4EBA 080C                jsr        [PC + 0x80C /* 000023F2 */]
  2265. 00001BE8  4EBA F7BC                jsr        [PC - 0x844 /* 000013A6 */]
  2266. 00001BEC  4E5E                     unlink     A6
  2267. 00001BEE  4E75                     rts
  2268. fn00001BF0:
  2269. 00001BF0  241F                     move.l     D2, [A7]+
  2270. 00001BF2  225F                     movea.l    A1, [A7]+
  2271. 00001BF4  321F                     move.w     D1, [A7]+
  2272. 00001BF6  205F                     movea.l    A0, [A7]+
  2273. 00001BF8  301F                     move.w     D0, [A7]+
  2274. 00001BFA  2F02                     move.l     -[A7], D2
  2275. 00001BFC  3400                     move.w     D2, D0
  2276. 00001BFE  B041                     cmp.w      D0, D1
  2277. 00001C00  6F02                     ble        +0x4 /* 00001C04 */
  2278. 00001C02  3401                     move.w     D2, D1
  2279. label00001C04:
  2280. 00001C04  5342                     subq.w     D2, 1
  2281. 00001C06  6D08                     blt        +0xA /* 00001C10 */
  2282. label00001C08:
  2283. 00001C08  B109                     cmpm.b     [A0]+, [A1]+
  2284. 00001C0A  6606                     bne        +0x8 /* 00001C12 */
  2285. 00001C0C  51CA FFFA                dbf        D2, -0x8 /* 00001C08 */
  2286. label00001C10:
  2287. 00001C10  B041                     cmp.w      D0, D1
  2288. label00001C12:
  2289. 00001C12  4E75                     rts
  2290. fn00001C14:
  2291. 00001C14  4E56 FFCE                link       A6, -0x0032
  2292. 00001C18  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2293. 00001C1C  316E 0014 001A           move.w     [A0 + 0x1A], [A6 + 0x14]
  2294. 00001C22  216E 0010 001C           move.l     [A0 + 0x1C], [A6 + 0x10]
  2295. 00001C28  216E 000C 0020           move.l     [A0 + 0x20], [A6 + 0xC]
  2296. 00001C2E  216E 0008 0024           move.l     [A0 + 0x24], [A6 + 0x8]
  2297. 00001C34  317C FFFD 0018           move.w     [A0 + 0x18], 0xFFFD
  2298. 00001C3A  A004                     syscall    Control
  2299. 00001C3C  4E5E                     unlink     A6
  2300. 00001C3E  205F                     movea.l    A0, [A7]+
  2301. 00001C40  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2302. 00001C44  4ED0                     jmp        [A0]
  2303. fn00001C46:
  2304. 00001C46  4E56 FEB0                link       A6, -0x0150
  2305. 00001C4A  48E7 0120                movem.l    -[A7], D7,A2
  2306. 00001C4E  206E 0008                movea.l    A0, [A6 + 0x8]
  2307. 00001C52  43FA 0076                lea.l      A1, [PC + 0x76 /* 00001CCA, value 0x8505249, pstring "PRINTER:" */]
  2308. 00001C56  4240                     clr.w      D0
  2309. 00001C58  4241                     clr.w      D1
  2310. 00001C5A  1018                     move.b     D0, [A0]+
  2311. 00001C5C  1219                     move.b     D1, [A1]+
  2312. 00001C5E  4267                     clr.w      -[A7]
  2313. 00001C60  2F08                     move.l     -[A7], A0
  2314. 00001C62  2F09                     move.l     -[A7], A1
  2315. 00001C64  3F00                     move.w     -[A7], D0
  2316. 00001C66  3F01                     move.w     -[A7], D1
  2317. 00001C68  3F3C 000C                move.w     -[A7], 0xC
  2318. 00001C6C  A9ED                     syscall    Pack6
  2319. 00001C6E  4A5F                     tst.w      [A7]+
  2320. 00001C70  6662                     bne        +0x64 /* 00001CD4 */
  2321. 00001C72  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2322. 00001C76  43FA 004A                lea.l      A1, [PC + 0x4A /* 00001CC2, value 0x62E5072, pstring ".Print" */]
  2323. 00001C7A  2149 0012                move.l     [A0 + 0x12], A1
  2324. 00001C7E  A000                     syscall    Open/PBHOpen/HOpen
  2325. 00001C80  6600 0124                bne        +0x126 /* 00001DA6 */
  2326. 00001C84  3F3C 0007                move.w     -[A7], 0x7
  2327. 00001C88  2F3C 0001 0000           move.l     -[A7], 0x10000
  2328. 00001C8E  42A7                     clr.l      -[A7]
  2329. 00001C90  42A7                     clr.l      -[A7]
  2330. 00001C92  4EBA FF80                jsr        [PC - 0x80 /* 00001C14 */]
  2331. 00001C96  4A40                     tst.w      D0
  2332. 00001C98  6600 010C                bne        +0x10E /* 00001DA6 */
  2333. 00001C9C  226E 0010                movea.l    A1, [A6 + 0x10]
  2334. 00001CA0  32BC FFFD                move.w     [A1], 0xFFFD
  2335. 00001CA4  4269 0002                clr.w      [A1 + 0x2]
  2336. 00001CA8  4269 0008                clr.w      [A1 + 0x8]
  2337. 00001CAC  136E 000C 000A           move.b     [A1 + 0xA], [A6 + 0xC]
  2338. 00001CB2  3E2E 000E                move.w     D7, [A6 + 0xE]
  2339. 00001CB6  0447 000E                subi.w     D7, 0xE
  2340. 00001CBA  3347 000C                move.w     [A1 + 0xC], D7
  2341. 00001CBE  4EFA 00E6                jmp        [PC + 0xE6 /* 00001DA6 */]
  2342. 00001CC2  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  2343. 00001CC8  7400                     moveq.l    D2, 0x00
  2344. 00001CCA  0850 5249                bchg.b     [A0], 0x49 /* 'I' */
  2345. 00001CCE  4E54 4552                link       A4, -0xFFFFBAAE
  2346. 00001CD2  3A00                     move.w     D5, D0
  2347. label00001CD4:
  2348. 00001CD4  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2349. 00001CD8  43EE FEB0                lea.l      A1, [A6 - 0x150]
  2350. 00001CDC  2149 0012                move.l     [A0 + 0x12], A1
  2351. 00001CE0  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2352. 00001CE2  3E28 0016                move.w     D7, [A0 + 0x16]
  2353. 00001CE6  203C 0000 020A           move.l     D0, 0x20A
  2354. 00001CEC  A11E                     syscall    NewPtr, flags=1
  2355. 00001CEE  4A40                     tst.w      D0
  2356. 00001CF0  6600 00B4                bne        +0xB6 /* 00001DA6 */
  2357. 00001CF4  2448                     movea.l    A2, A0
  2358. 00001CF6  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2359. 00001CFA  216E 0008 0012           move.l     [A0 + 0x12], [A6 + 0x8]
  2360. 00001D00  3147 0016                move.w     [A0 + 0x16], D7
  2361. 00001D04  4228 001A                clr.b      [A0 + 0x1A]
  2362. 00001D08  4228 001B                clr.b      [A0 + 0x1B]
  2363. 00001D0C  214A 001C                move.l     [A0 + 0x1C], A2
  2364. 00001D10  A000                     syscall    Open/PBHOpen/HOpen
  2365. 00001D12  4A40                     tst.w      D0
  2366. 00001D14  6764                     beq        +0x66 /* 00001D7A */
  2367. 00001D16  216E 0008 0012           move.l     [A0 + 0x12], [A6 + 0x8]
  2368. 00001D1C  3147 0016                move.w     [A0 + 0x16], D7
  2369. 00001D20  4228 001A                clr.b      [A0 + 0x1A]
  2370. 00001D24  A008                     syscall    Create/PBHCreate/HCreate
  2371. 00001D26  4A40                     tst.w      D0
  2372. 00001D28  667C                     bne        +0x7E /* 00001DA6 */
  2373. 00001D2A  4268 001C                clr.w      [A0 + 0x1C]
  2374. 00001D2E  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2375. 00001D30  43E8 0020                lea.l      A1, [A0 + 0x20]
  2376. 00001D34  4A2E 000C                tst.b      [A6 + 0xC]
  2377. 00001D38  6710                     beq        +0x12 /* 00001D4A */
  2378. 00001D3A  22BC 5445 5854           move.l     [A1], 0x54455854 /* 'TEXT' */
  2379. 00001D40  237C 4544 4954 0004      move.l     [A1 + 0x4], 0x45444954 /* 'EDIT' */
  2380. 00001D48  600E                     bra        +0x10 /* 00001D58 */
  2381. label00001D4A:
  2382. 00001D4A  22BC 416E 6F6E           move.l     [A1], 0x416E6F6E /* 'Anon' */
  2383. 00001D50  237C 3F3F 3F3F 0004      move.l     [A1 + 0x4], 0x3F3F3F3F /* '????' */
  2384. label00001D58:
  2385. 00001D58  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  2386. 00001D5A  4A40                     tst.w      D0
  2387. 00001D5C  6648                     bne        +0x4A /* 00001DA6 */
  2388. 00001D5E  216E 0008 0012           move.l     [A0 + 0x12], [A6 + 0x8]
  2389. 00001D64  3147 0016                move.w     [A0 + 0x16], D7
  2390. 00001D68  4228 001A                clr.b      [A0 + 0x1A]
  2391. 00001D6C  4228 001B                clr.b      [A0 + 0x1B]
  2392. 00001D70  42A8 001C                clr.l      [A0 + 0x1C]
  2393. 00001D74  A000                     syscall    Open/PBHOpen/HOpen
  2394. 00001D76  4A40                     tst.w      D0
  2395. 00001D78  662C                     bne        +0x2E /* 00001DA6 */
  2396. label00001D7A:
  2397. 00001D7A  226E 0010                movea.l    A1, [A6 + 0x10]
  2398. 00001D7E  32A8 0018                move.w     [A1], [A0 + 0x18]
  2399. 00001D82  3347 0002                move.w     [A1 + 0x2], D7
  2400. 00001D86  234A 0004                move.l     [A1 + 0x4], A2
  2401. 00001D8A  4269 0008                clr.w      [A1 + 0x8]
  2402. 00001D8E  136E 000C 000A           move.b     [A1 + 0xA], [A6 + 0xC]
  2403. 00001D94  3E2E 000E                move.w     D7, [A6 + 0xE]
  2404. 00001D98  0447 000E                subi.w     D7, 0xE
  2405. 00001D9C  3347 000C                move.w     [A1 + 0xC], D7
  2406. 00001DA0  2F09                     move.l     -[A7], A1
  2407. 00001DA2  4EBA 005E                jsr        [PC + 0x5E /* 00001E02 */]
  2408. label00001DA6:
  2409. 00001DA6  4CDF 0480                movem.l    D7,A2, [A7]+
  2410. 00001DAA  4E5E                     unlink     A6
  2411. 00001DAC  205F                     movea.l    A0, [A7]+
  2412. 00001DAE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2413. 00001DB2  4ED0                     jmp        [A0]
  2414. fn00001DB4:
  2415. 00001DB4  4E56 FFCE                link       A6, -0x0032
  2416. 00001DB8  226E 0008                movea.l    A1, [A6 + 0x8]
  2417. 00001DBC  4A51                     tst.w      [A1]
  2418. 00001DBE  6708                     beq        +0xA /* 00001DC8 */
  2419. 00001DC0  0C51 FFFD                cmpi.w     [A1], 0xFFFD
  2420. 00001DC4  670A                     beq        +0xC /* 00001DD0 */
  2421. 00001DC6  601E                     bra        +0x20 /* 00001DE6 */
  2422. label00001DC8:
  2423. 00001DC8  2F09                     move.l     -[A7], A1
  2424. 00001DCA  4EBA 0066                jsr        [PC + 0x66 /* 00001E32 */]
  2425. 00001DCE  602A                     bra        +0x2C /* 00001DFA */
  2426. label00001DD0:
  2427. 00001DD0  3F3C 0007                move.w     -[A7], 0x7
  2428. 00001DD4  2F3C 0001 0000           move.l     -[A7], 0x10000
  2429. 00001DDA  42A7                     clr.l      -[A7]
  2430. 00001DDC  42A7                     clr.l      -[A7]
  2431. 00001DDE  4EBA FE34                jsr        [PC - 0x1CC /* 00001C14 */]
  2432. 00001DE2  4A40                     tst.w      D0
  2433. 00001DE4  6014                     bra        +0x16 /* 00001DFA */
  2434. label00001DE6:
  2435. 00001DE6  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2436. 00001DEA  3151 0018                move.w     [A0 + 0x18], [A1]
  2437. 00001DEE  42A8 001C                clr.l      [A0 + 0x1C]
  2438. 00001DF2  337C 0101 0008           move.w     [A1 + 0x8], 0x101
  2439. 00001DF8  A012                     syscall    SetEOF
  2440. label00001DFA:
  2441. 00001DFA  4E5E                     unlink     A6
  2442. 00001DFC  205F                     movea.l    A0, [A7]+
  2443. 00001DFE  588F                     addq.l     A7, 4
  2444. 00001E00  4ED0                     jmp        [A0]
  2445. fn00001E02:
  2446. 00001E02  4E56 FFCE                link       A6, -0x0032
  2447. 00001E06  2F0A                     move.l     -[A7], A2
  2448. 00001E08  246E 0008                movea.l    A2, [A6 + 0x8]
  2449. 00001E0C  4EBA 0128                jsr        [PC + 0x128 /* 00001F36 */]
  2450. 00001E10  245F                     movea.l    A2, [A7]+
  2451. 00001E12  4E5E                     unlink     A6
  2452. 00001E14  205F                     movea.l    A0, [A7]+
  2453. 00001E16  588F                     addq.l     A7, 4
  2454. 00001E18  4ED0                     jmp        [A0]
  2455. fn00001E1A:
  2456. 00001E1A  4E56 FFCE                link       A6, -0x0032
  2457. 00001E1E  2F0A                     move.l     -[A7], A2
  2458. 00001E20  246E 0008                movea.l    A2, [A6 + 0x8]
  2459. 00001E24  4EBA 0244                jsr        [PC + 0x244 /* 0000206A */]
  2460. 00001E28  245F                     movea.l    A2, [A7]+
  2461. 00001E2A  4E5E                     unlink     A6
  2462. 00001E2C  205F                     movea.l    A0, [A7]+
  2463. 00001E2E  588F                     addq.l     A7, 4
  2464. 00001E30  4ED0                     jmp        [A0]
  2465. fn00001E32:
  2466. 00001E32  4E56 FFFC                link       A6, -0x0004
  2467. 00001E36  206E 0008                movea.l    A0, [A6 + 0x8]
  2468. 00001E3A  4A50                     tst.w      [A0]
  2469. 00001E3C  6708                     beq        +0xA /* 00001E46 */
  2470. 00001E3E  0C50 FFFD                cmpi.w     [A0], 0xFFFD
  2471. 00001E42  6728                     beq        +0x2A /* 00001E6C */
  2472. 00001E44  603A                     bra        +0x3C /* 00001E80 */
  2473. label00001E46:
  2474. 00001E46  486E FFFC                pea.l      [A6 - 0x4]
  2475. 00001E4A  A874                     syscall    GetPort
  2476. 00001E4C  206E FFFC                movea.l    A0, [A6 - 0x4]
  2477. 00001E50  41E8 0010                lea.l      A0, [A0 + 0x10]
  2478. 00001E54  2F08                     move.l     -[A7], A0
  2479. 00001E56  A8A3                     syscall    EraseRect
  2480. 00001E58  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2481. 00001E5C  206E FFFC                movea.l    A0, [A6 - 0x4]
  2482. 00001E60  3028 004A                move.w     D0, [A0 + 0x4A]
  2483. 00001E64  5440                     addq.w     D0, 2
  2484. 00001E66  3F00                     move.w     -[A7], D0
  2485. 00001E68  A893                     syscall    MoveTo
  2486. 00001E6A  6014                     bra        +0x16 /* 00001E80 */
  2487. label00001E6C:
  2488. 00001E6C  3F3C 0007                move.w     -[A7], 0x7
  2489. 00001E70  2F3C 0002 0000           move.l     -[A7], 0x20000
  2490. 00001E76  42A7                     clr.l      -[A7]
  2491. 00001E78  42A7                     clr.l      -[A7]
  2492. 00001E7A  4EBA FD98                jsr        [PC - 0x268 /* 00001C14 */]
  2493. 00001E7E  4E71                     nop
  2494. label00001E80:
  2495. 00001E80  4E5E                     unlink     A6
  2496. 00001E82  205F                     movea.l    A0, [A7]+
  2497. 00001E84  588F                     addq.l     A7, 4
  2498. 00001E86  4ED0                     jmp        [A0]
  2499. fn00001E88:
  2500. 00001E88  4E56 FFEE                link       A6, -0x0012
  2501. 00001E8C  2F0A                     move.l     -[A7], A2
  2502. 00001E8E  206E 0008                movea.l    A0, [A6 + 0x8]
  2503. 00001E92  4A50                     tst.w      [A0]
  2504. 00001E94  6708                     beq        +0xA /* 00001E9E */
  2505. 00001E96  0C50 FFFD                cmpi.w     [A0], 0xFFFD
  2506. 00001E9A  676C                     beq        +0x6E /* 00001F08 */
  2507. 00001E9C  607E                     bra        +0x80 /* 00001F1C */
  2508. label00001E9E:
  2509. 00001E9E  486E FFFC                pea.l      [A6 - 0x4]
  2510. 00001EA2  A874                     syscall    GetPort
  2511. 00001EA4  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2512. 00001EA8  246E FFFC                movea.l    A2, [A6 - 0x4]
  2513. 00001EAC  302A 0030                move.w     D0, [A2 + 0x30]
  2514. 00001EB0  D06A 004A                add.w      D0, [A2 + 0x4A]
  2515. 00001EB4  0640 0002                addi.w     D0, 0x2
  2516. 00001EB8  3F00                     move.w     -[A7], D0
  2517. 00001EBA  A893                     syscall    MoveTo
  2518. 00001EBC  302A 0030                move.w     D0, [A2 + 0x30]
  2519. 00001EC0  906A 0014                sub.w      D0, [A2 + 0x14]
  2520. 00001EC4  6F66                     ble        +0x68 /* 00001F2C */
  2521. 00001EC6  5440                     addq.w     D0, 2
  2522. 00001EC8  3D40 FFEE                move.w     [A6 - 0x12], D0
  2523. 00001ECC  2D6A 0010 FFF4           move.l     [A6 - 0xC], [A2 + 0x10]
  2524. 00001ED2  2D6A 0014 FFF8           move.l     [A6 - 0x8], [A2 + 0x14]
  2525. 00001ED8  42A7                     clr.l      -[A7]
  2526. 00001EDA  A8D8                     syscall    NewRgn
  2527. 00001EDC  2D5F FFF0                move.l     [A6 - 0x10], [A7]+
  2528. 00001EE0  486E FFF4                pea.l      [A6 - 0xC]
  2529. 00001EE4  4267                     clr.w      -[A7]
  2530. 00001EE6  302E FFEE                move.w     D0, [A6 - 0x12]
  2531. 00001EEA  4440                     neg.w      D0
  2532. 00001EEC  3F00                     move.w     -[A7], D0
  2533. 00001EEE  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  2534. 00001EF2  A8EF                     syscall    ScrollRect
  2535. 00001EF4  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  2536. 00001EF8  A8D9                     syscall    DisposRgn/DisposeRgn
  2537. 00001EFA  4267                     clr.w      -[A7]
  2538. 00001EFC  302E FFEE                move.w     D0, [A6 - 0x12]
  2539. 00001F00  4440                     neg.w      D0
  2540. 00001F02  3F00                     move.w     -[A7], D0
  2541. 00001F04  A894                     syscall    Move
  2542. 00001F06  6024                     bra        +0x26 /* 00001F2C */
  2543. label00001F08:
  2544. 00001F08  3F3C 0007                move.w     -[A7], 0x7
  2545. 00001F0C  2F3C 0003 FFFF           move.l     -[A7], 0x3FFFF
  2546. 00001F12  42A7                     clr.l      -[A7]
  2547. 00001F14  42A7                     clr.l      -[A7]
  2548. 00001F16  4EBA FCFC                jsr        [PC - 0x304 /* 00001C14 */]
  2549. 00001F1A  6010                     bra        +0x12 /* 00001F2C */
  2550. label00001F1C:
  2551. 00001F1C  206E 0008                movea.l    A0, [A6 + 0x8]
  2552. 00001F20  117C 000D 000E           move.b     [A0 + 0xE], 0xD /* '\r' */
  2553. 00001F26  2F08                     move.l     -[A7], A0
  2554. 00001F28  4EBA FEF0                jsr        [PC - 0x110 /* 00001E1A */]
  2555. label00001F2C:
  2556. 00001F2C  245F                     movea.l    A2, [A7]+
  2557. 00001F2E  4E5E                     unlink     A6
  2558. 00001F30  205F                     movea.l    A0, [A7]+
  2559. 00001F32  588F                     addq.l     A7, 4
  2560. 00001F34  4ED0                     jmp        [A0]
  2561. fn00001F36:
  2562. 00001F36  426A 0008                clr.w      [A2 + 0x8]
  2563. 00001F3A  4A52                     tst.w      [A2]
  2564. 00001F3C  6600 00DE                bne        +0xE0 /* 0000201C */
  2565. 00001F40  4E56 FFE4                link       A6, -0x001C
  2566. 00001F44  1D7C 0001 FFEE           move.b     [A6 - 0x12], 0x1
  2567. label00001F4A:
  2568. 00001F4A  4227                     clr.b      -[A7]
  2569. 00001F4C  3F3C 0028                move.w     -[A7], 0x28 /* '(' */
  2570. 00001F50  486E FFF0                pea.l      [A6 - 0x10]
  2571. 00001F54  A970                     syscall    GetNextEvent
  2572. 00001F56  4A1F                     tst.b      [A7]+
  2573. 00001F58  6646                     bne        +0x48 /* 00001FA0 */
  2574. 00001F5A  4A2E FFEE                tst.b      [A6 - 0x12]
  2575. 00001F5E  6720                     beq        +0x22 /* 00001F80 */
  2576. 00001F60  4EBA 009C                jsr        [PC + 0x9C /* 00001FFE */]
  2577. 00001F64  1D7C 0001 FFEC           move.b     [A6 - 0x14], 0x1
  2578. 00001F6A  422E FFEE                clr.b      [A6 - 0x12]
  2579. 00001F6E  42A7                     clr.l      -[A7]
  2580. 00001F70  A975                     syscall    TickCount
  2581. 00001F72  201F                     move.l     D0, [A7]+
  2582. 00001F74  0680 0000 001E           addi.l     D0, 0x1E
  2583. 00001F7A  2D40 FFE8                move.l     [A6 - 0x18], D0
  2584. 00001F7E  60CA                     bra        -0x34 /* 00001F4A */
  2585. label00001F80:
  2586. 00001F80  42A7                     clr.l      -[A7]
  2587. 00001F82  A975                     syscall    TickCount
  2588. 00001F84  201F                     move.l     D0, [A7]+
  2589. 00001F86  B0AE FFE8                cmp.l      D0, [A6 - 0x18]
  2590. 00001F8A  6DBE                     blt        -0x40 /* 00001F4A */
  2591. 00001F8C  0680 0000 001E           addi.l     D0, 0x1E
  2592. 00001F92  2D40 FFE8                move.l     [A6 - 0x18], D0
  2593. 00001F96  0A2E 0001 FFEC           xori.b     [A6 - 0x14], 0x1
  2594. 00001F9C  6160                     bsr        +0x62 /* 00001FFE */
  2595. 00001F9E  60AA                     bra        -0x54 /* 00001F4A */
  2596. label00001FA0:
  2597. 00001FA0  202E FFF2                move.l     D0, [A6 - 0xE]
  2598. 00001FA4  0C00 0008                cmpi.b     D0, 0x8
  2599. 00001FA8  67A0                     beq        -0x5E /* 00001F4A */
  2600. 00001FAA  4A2E FFEC                tst.b      [A6 - 0x14]
  2601. 00001FAE  6706                     beq        +0x8 /* 00001FB6 */
  2602. 00001FB0  614C                     bsr        +0x4E /* 00001FFE */
  2603. 00001FB2  202E FFF2                move.l     D0, [A6 - 0xE]
  2604. label00001FB6:
  2605. 00001FB6  322E FFFE                move.w     D1, [A6 - 0x2]
  2606. 00001FBA  0801 0008                btst.b     D1, 0x8
  2607. 00001FBE  6704                     beq        +0x6 /* 00001FC4 */
  2608. 00001FC0  0240 009F                andi.w     D0, 0x9F
  2609. label00001FC4:
  2610. 00001FC4  0C00 000D                cmpi.b     D0, 0xD /* '\r' */
  2611. 00001FC8  6614                     bne        +0x16 /* 00001FDE */
  2612. 00001FCA  2F0A                     move.l     -[A7], A2
  2613. 00001FCC  4EBA FEBA                jsr        [PC - 0x146 /* 00001E88 */]
  2614. 00001FD0  157C 0001 0009           move.b     [A2 + 0x9], 0x1
  2615. 00001FD6  157C 0020 000E           move.b     [A2 + 0xE], 0x20 /* ' ' */
  2616. 00001FDC  601C                     bra        +0x1E /* 00001FFA */
  2617. label00001FDE:
  2618. 00001FDE  0C00 000E                cmpi.b     D0, 0xE
  2619. 00001FE2  660E                     bne        +0x10 /* 00001FF2 */
  2620. 00001FE4  357C 0101 0008           move.w     [A2 + 0x8], 0x101
  2621. 00001FEA  157C 0020 000E           move.b     [A2 + 0xE], 0x20 /* ' ' */
  2622. 00001FF0  6008                     bra        +0xA /* 00001FFA */
  2623. label00001FF2:
  2624. 00001FF2  1540 000E                move.b     [A2 + 0xE], D0
  2625. 00001FF6  3F00                     move.w     -[A7], D0
  2626. 00001FF8  A883                     syscall    DrawChar
  2627. label00001FFA:
  2628. 00001FFA  4E5E                     unlink     A6
  2629. 00001FFC  4E75                     rts
  2630. fn00001FFE:
  2631. 00001FFE  3F3C FFFF                move.w     -[A7], 0xFFFF
  2632. 00002002  3F3C 0002                move.w     -[A7], 0x2
  2633. 00002006  A894                     syscall    Move
  2634. 00002008  4267                     clr.w      -[A7]
  2635. 0000200A  3F3C FFF5                move.w     -[A7], 0xFFF5
  2636. 0000200E  A892                     syscall    Line
  2637. 00002010  3F3C 0001                move.w     -[A7], 0x1
  2638. 00002014  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  2639. 00002018  A894                     syscall    Move
  2640. 0000201A  4E75                     rts
  2641. label0000201C:
  2642. 0000201C  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2643. 00002020  3152 0018                move.w     [A0 + 0x18], [A2]
  2644. 00002024  43EA 000E                lea.l      A1, [A2 + 0xE]
  2645. 00002028  2149 0020                move.l     [A0 + 0x20], A1
  2646. 0000202C  4280                     clr.l      D0
  2647. 0000202E  302A 000C                move.w     D0, [A2 + 0xC]
  2648. 00002032  2140 0024                move.l     [A0 + 0x24], D0
  2649. 00002036  4268 002C                clr.w      [A0 + 0x2C]
  2650. 0000203A  42A8 002E                clr.l      [A0 + 0x2E]
  2651. 0000203E  A002                     syscall    Read
  2652. 00002040  0C40 FFD9                cmpi.w     D0, 0xFFD9
  2653. 00002044  6608                     bne        +0xA /* 0000204E */
  2654. 00002046  357C 0101 0008           move.w     [A2 + 0x8], 0x101
  2655. 0000204C  6014                     bra        +0x16 /* 00002062 */
  2656. label0000204E:
  2657. 0000204E  4A2A 000A                tst.b      [A2 + 0xA]
  2658. 00002052  6714                     beq        +0x16 /* 00002068 */
  2659. 00002054  0C2A 000D 000E           cmpi.b     [A2 + 0xE], 0xD /* '\r' */
  2660. 0000205A  660C                     bne        +0xE /* 00002068 */
  2661. 0000205C  157C 0001 0009           move.b     [A2 + 0x9], 0x1
  2662. label00002062:
  2663. 00002062  157C 0020 000E           move.b     [A2 + 0xE], 0x20 /* ' ' */
  2664. label00002068:
  2665. 00002068  4E75                     rts
  2666. fn0000206A:
  2667. 0000206A  4A52                     tst.w      [A2]
  2668. 0000206C  6708                     beq        +0xA /* 00002076 */
  2669. 0000206E  0C52 FFFD                cmpi.w     [A2], 0xFFFD
  2670. 00002072  670E                     beq        +0x10 /* 00002082 */
  2671. 00002074  6024                     bra        +0x26 /* 0000209A */
  2672. label00002076:
  2673. 00002076  4240                     clr.w      D0
  2674. 00002078  102A 000E                move.b     D0, [A2 + 0xE]
  2675. 0000207C  3F00                     move.w     -[A7], D0
  2676. 0000207E  A883                     syscall    DrawChar
  2677. 00002080  4E75                     rts
  2678. label00002082:
  2679. 00002082  3F3C 0005                move.w     -[A7], 0x5
  2680. 00002086  486A 000E                pea.l      [A2 + 0xE]
  2681. 0000208A  4280                     clr.l      D0
  2682. 0000208C  302A 000C                move.w     D0, [A2 + 0xC]
  2683. 00002090  2F00                     move.l     -[A7], D0
  2684. 00002092  42A7                     clr.l      -[A7]
  2685. 00002094  4EBA FB7E                jsr        [PC - 0x482 /* 00001C14 */]
  2686. 00002098  4E75                     rts
  2687. label0000209A:
  2688. 0000209A  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2689. 0000209E  3152 0018                move.w     [A0 + 0x18], [A2]
  2690. 000020A2  43EA 000E                lea.l      A1, [A2 + 0xE]
  2691. 000020A6  2149 0020                move.l     [A0 + 0x20], A1
  2692. 000020AA  4280                     clr.l      D0
  2693. 000020AC  302A 000C                move.w     D0, [A2 + 0xC]
  2694. 000020B0  2140 0024                move.l     [A0 + 0x24], D0
  2695. 000020B4  4268 002C                clr.w      [A0 + 0x2C]
  2696. 000020B8  42A8 002E                clr.l      [A0 + 0x2E]
  2697. 000020BC  A003                     syscall    Write
  2698. 000020BE  4E75                     rts
  2699. 000020C0  225F                     movea.l    A1, [A7]+
  2700. 000020C2  201F                     move.l     D0, [A7]+
  2701. 000020C4  A04C                     syscall    CompactMem
  2702. 000020C6  2E80                     move.l     [A7], D0
  2703. 000020C8  4E71                     nop
  2704. 000020CA  7000                     moveq.l    D0, 0x00
  2705. label000020CC:
  2706. 000020CC  2F09                     move.l     -[A7], A1
  2707. label000020CE:
  2708. 000020CE  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  2709. 000020D2  4E75                     rts
  2710. 000020D4  7000                     moveq.l    D0, 0x00
  2711. 000020D6  60F6                     bra        -0x8 /* 000020CE */
  2712. fn000020D8:
  2713. 000020D8  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2714. 000020DC  6A2A                     bpl        +0x2C /* 00002108 */
  2715. 000020DE  2078 0130                movea.l    A0, [0x00000130 /* ApplLimit */]
  2716. 000020E2  43F8 0114                lea.l      A1, [0x00000114 /* HeapEnd */]
  2717. 000020E6  2008                     move.l     D0, A0
  2718. 000020E8  9091                     sub.l      D0, [A1]
  2719. 000020EA  740C                     moveq.l    D2, 0x0C
  2720. 000020EC  B082                     cmp.l      D0, D2
  2721. 000020EE  6516                     bcs        +0x18 /* 00002106 */
  2722. 000020F0  2251                     movea.l    A1, [A1]
  2723. 000020F2  21C8 0114                move.l     [0x00000114 /* HeapEnd */], A0
  2724. 000020F6  2280                     move.l     [A1], D0
  2725. 000020F8  4211                     clr.b      [A1]
  2726. 000020FA  2278 02AA                movea.l    A1, [0x000002AA /* ApplZone */]
  2727. 000020FE  2288                     move.l     [A1], A0
  2728. 00002100  2082                     move.l     [A0], D2
  2729. 00002102  D1A9 000C                add.l      [A1 + 0xC], D0
  2730. label00002106:
  2731. 00002106  4E75                     rts
  2732. label00002108:
  2733. 00002108  A063                     syscall    MaxApplZone
  2734. 0000210A  4E75                     rts
  2735. fn0000210C:
  2736. 0000210C  225F                     movea.l    A1, [A7]+
  2737. 0000210E  201F                     move.l     D0, [A7]+
  2738. 00002110  A122                     syscall    NewHandle, flags=1
  2739. 00002112  2E88                     move.l     [A7], A0
  2740. 00002114  4EFA FFB6                jmp        [PC - 0x4A /* 000020CC */]
  2741. fn00002118:
  2742. 00002118  225F                     movea.l    A1, [A7]+
  2743. 0000211A  201F                     move.l     D0, [A7]+
  2744. 0000211C  205F                     movea.l    A0, [A7]+
  2745. 0000211E  A024                     syscall    SetHandleSize
  2746. 00002120  4EFA FFAA                jmp        [PC - 0x56 /* 000020CC */]
  2747. fn00002124:
  2748. 00002124  225F                     movea.l    A1, [A7]+
  2749. 00002126  205F                     movea.l    A0, [A7]+
  2750. 00002128  A029                     syscall    HLock
  2751. 0000212A  4EFA FFA0                jmp        [PC - 0x60 /* 000020CC */]
  2752. fn0000212E:
  2753. 0000212E  225F                     movea.l    A1, [A7]+
  2754. 00002130  205F                     movea.l    A0, [A7]+
  2755. 00002132  A02A                     syscall    HUnlock
  2756. 00002134  4EFA FF96                jmp        [PC - 0x6A /* 000020CC */]
  2757. fn00002138:
  2758. 00002138  A036                     syscall    MoreMasters
  2759. 0000213A  4EFA FF92                jmp        [PC - 0x6E /* 000020CE */]
  2760. fn0000213E:
  2761. 0000213E  221F                     move.l     D1, [A7]+
  2762. 00002140  201F                     move.l     D0, [A7]+
  2763. 00002142  225F                     movea.l    A1, [A7]+
  2764. 00002144  205F                     movea.l    A0, [A7]+
  2765. 00002146  A02E                     syscall    BlockMove/BlockMoveData
  2766. 00002148  2241                     movea.l    A1, D1
  2767. 0000214A  4EFA FF80                jmp        [PC - 0x80 /* 000020CC */]
  2768. fn0000214E:
  2769. 0000214E  225F                     movea.l    A1, [A7]+
  2770. 00002150  121F                     move.b     D1, [A7]+
  2771. 00002152  205F                     movea.l    A0, [A7]+
  2772. 00002154  7000                     moveq.l    D0, 0x00
  2773. 00002156  1018                     move.b     D0, [A0]+
  2774. 00002158  2F09                     move.l     -[A7], A1
  2775. 0000215A  4A01                     tst.b      D1
  2776. 0000215C  6704                     beq        +0x6 /* 00002162 */
  2777. 0000215E  A054                     syscall    UprString/UprText
  2778. 00002160  6002                     bra        +0x4 /* 00002164 */
  2779. label00002162:
  2780. 00002162  A254                     syscall    UprString/UprText, flags=2
  2781. label00002164:
  2782. 00002164  4E75                     rts
  2783. fn00002166:
  2784. 00002166  4E56 FFCE                link       A6, -0x0032
  2785. 0000216A  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2786. 0000216E  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2787. 00002174  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2788. 0000217A  4228 001A                clr.b      [A0 + 0x1A]
  2789. 0000217E  4228 001B                clr.b      [A0 + 0x1B]
  2790. 00002182  42A8 001C                clr.l      [A0 + 0x1C]
  2791. 00002186  A000                     syscall    Open/PBHOpen/HOpen
  2792. 00002188  226E 0008                movea.l    A1, [A6 + 0x8]
  2793. 0000218C  32A8 0018                move.w     [A1], [A0 + 0x18]
  2794. 00002190  3D40 0012                move.w     [A6 + 0x12], D0
  2795. 00002194  4E5E                     unlink     A6
  2796. 00002196  205F                     movea.l    A0, [A7]+
  2797. 00002198  DFFC 0000 000A           add.l      A7, 0xA /* '\n' */
  2798. 0000219E  4ED0                     jmp        [A0]
  2799. fn000021A0:
  2800. 000021A0  4E56 FFCE                link       A6, -0x0032
  2801. 000021A4  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2802. 000021A8  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  2803. 000021AE  A001                     syscall    Close
  2804. 000021B0  3D40 000A                move.w     [A6 + 0xA], D0
  2805. 000021B4  4E5E                     unlink     A6
  2806. 000021B6  205F                     movea.l    A0, [A7]+
  2807. 000021B8  548F                     addq.l     A7, 2
  2808. 000021BA  4ED0                     jmp        [A0]
  2809. fn000021BC:
  2810. 000021BC  51C1                     sf         D1
  2811. 000021BE  6002                     bra        +0x4 /* 000021C2 */
  2812. 000021C0  50C1                     st         D1
  2813. label000021C2:
  2814. 000021C2  4E56 FFCE                link       A6, -0x0032
  2815. 000021C6  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2816. 000021CA  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  2817. 000021D0  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  2818. 000021D6  226E 000C                movea.l    A1, [A6 + 0xC]
  2819. 000021DA  2151 0024                move.l     [A0 + 0x24], [A1]
  2820. 000021DE  4268 002C                clr.w      [A0 + 0x2C]
  2821. 000021E2  42A8 002E                clr.l      [A0 + 0x2E]
  2822. 000021E6  4A01                     tst.b      D1
  2823. 000021E8  6604                     bne        +0x6 /* 000021EE */
  2824. 000021EA  A002                     syscall    Read
  2825. 000021EC  6002                     bra        +0x4 /* 000021F0 */
  2826. label000021EE:
  2827. 000021EE  A003                     syscall    Write
  2828. label000021F0:
  2829. 000021F0  3D40 0012                move.w     [A6 + 0x12], D0
  2830. 000021F4  226E 000C                movea.l    A1, [A6 + 0xC]
  2831. 000021F8  22A8 0028                move.l     [A1], [A0 + 0x28]
  2832. 000021FC  4E5E                     unlink     A6
  2833. 000021FE  225F                     movea.l    A1, [A7]+
  2834. 00002200  DFFC 0000 000A           add.l      A7, 0xA /* '\n' */
  2835. 00002206  4ED1                     jmp        [A1]
  2836. fn00002208:
  2837. 00002208  4E56 FFCE                link       A6, -0x0032
  2838. 0000220C  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2839. 00002210  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  2840. 00002216  A011                     syscall    GetEOF
  2841. 00002218  3D40 000E                move.w     [A6 + 0xE], D0
  2842. 0000221C  226E 0008                movea.l    A1, [A6 + 0x8]
  2843. 00002220  22A8 001C                move.l     [A1], [A0 + 0x1C]
  2844. 00002224  4E5E                     unlink     A6
  2845. 00002226  225F                     movea.l    A1, [A7]+
  2846. 00002228  5C8F                     addq.l     A7, 6
  2847. 0000222A  4ED1                     jmp        [A1]
  2848. fn0000222C:
  2849. 0000222C  225F                     movea.l    A1, [A7]+
  2850. 0000222E  101F                     move.b     D0, [A7]+
  2851. 00002230  205F                     movea.l    A0, [A7]+
  2852. 00002232  6606                     bne        +0x8 /* 0000223A */
  2853. 00002234  7001                     moveq.l    D0, 0x01
  2854. 00002236  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2855. 00002238  6004                     bra        +0x6 /* 0000223E */
  2856. label0000223A:
  2857. 0000223A  7001                     moveq.l    D0, 0x01
  2858. 0000223C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2859. label0000223E:
  2860. 0000223E  3E80                     move.w     [A7], D0
  2861. 00002240  4ED1                     jmp        [A1]
  2862. fn00002242:
  2863. 00002242  206F 0008                movea.l    A0, [A7 + 0x8]
  2864. 00002246  3F3C 0001                move.w     -[A7], 0x1
  2865. 0000224A  A9EE                     syscall    Pack7/DecStr68K
  2866. 0000224C  206F 0004                movea.l    A0, [A7 + 0x4]
  2867. 00002250  2080                     move.l     [A0], D0
  2868. 00002252  4EFA 0010                jmp        [PC + 0x10 /* 00002264 */]
  2869. 00002256  206F 0004                movea.l    A0, [A7 + 0x4]
  2870. 0000225A  202F 0008                move.l     D0, [A7 + 0x8]
  2871. 0000225E  3F3C 0000                move.w     -[A7], 0x0
  2872. 00002262  A9EE                     syscall    Pack7/DecStr68K
  2873. label00002264:
  2874. 00002264  205F                     movea.l    A0, [A7]+
  2875. 00002266  504F                     addq.w     A7, 8
  2876. 00002268  4ED0                     jmp        [A0]
  2877. fn0000226A:
  2878. 0000226A  201F                     move.l     D0, [A7]+
  2879. 0000226C  225F                     movea.l    A1, [A7]+
  2880. 0000226E  2B5F 0018                move.l     [A5 + 0x18], [A7]+
  2881. 00002272  2251                     movea.l    A1, [A1]
  2882. 00002274  41FA 000A                lea.l      A0, [PC + 0xA /* 00002280, value 0x42272F08 */]
  2883. 00002278  2348 0026                move.l     [A1 + 0x26], A0
  2884. 0000227C  2040                     movea.l    A0, D0
  2885. 0000227E  4ED0                     jmp        [A0]
  2886. 00002280  4227                     clr.b      -[A7]
  2887. 00002282  2F08                     move.l     -[A7], A0
  2888. 00002284  3F00                     move.w     -[A7], D0
  2889. 00002286  206D 0018                movea.l    A0, [A5 + 0x18]
  2890. 0000228A  4E90                     jsr        [A0]
  2891. 0000228C  4A1F                     tst.b      [A7]+
  2892. 0000228E  4E75                     rts
  2893. fn00002290:
  2894. 00002290  206F 000C                movea.l    A0, [A7 + 0xC]
  2895. 00002294  2050                     movea.l    A0, [A0]
  2896. 00002296  7003                     moveq.l    D0, 0x03
  2897. 00002298  C028 0044                and.b      D0, [A0 + 0x44]
  2898. 0000229C  72FC                     moveq.l    D1, 0xFFFFFFFC
  2899. 0000229E  C338 0946                and.b      [0x00000946 /* ChooserBits */], D1
  2900. 000022A2  8138 0946                or.b       [0x00000946 /* ChooserBits */], D0
  2901. 000022A6  223C 000C 0000           move.l     D1, 0xC0000
  2902. 000022AC  6016                     bra        +0x18 /* 000022C4 */
  2903. fn000022AE:
  2904. 000022AE  223C 0004 8004           move.l     D1, 0x48004
  2905. 000022B4  600E                     bra        +0x10 /* 000022C4 */
  2906. fn000022B6:
  2907. 000022B6  223C 0008 0008           move.l     D1, 0x80008
  2908. 000022BC  6006                     bra        +0x8 /* 000022C4 */
  2909. fn000022BE:
  2910. 000022BE  223C 0004 000C           move.l     D1, 0x4000C
  2911. label000022C4:
  2912. 000022C4  7003                     moveq.l    D0, 0x03
  2913. 000022C6  C038 0946                and.b      D0, [0x00000946 /* ChooserBits */]
  2914. 000022CA  605E                     bra        +0x60 /* 0000232A */
  2915. 000022CC  223C 0000 8000           move.l     D1, 0x8000
  2916. 000022D2  7006                     moveq.l    D0, 0x06
  2917. 000022D4  6054                     bra        +0x56 /* 0000232A */
  2918. 000022D6  223C 000C 8000           move.l     D1, 0xC8000
  2919. 000022DC  7007                     moveq.l    D0, 0x07
  2920. 000022DE  604A                     bra        +0x4C /* 0000232A */
  2921. fn000022E0:
  2922. 000022E0  223C 0004 8000           move.l     D1, 0x48000
  2923. 000022E6  6036                     bra        +0x38 /* 0000231E */
  2924. fn000022E8:
  2925. 000022E8  223C 0004 8004           move.l     D1, 0x48004
  2926. 000022EE  602E                     bra        +0x30 /* 0000231E */
  2927. fn000022F0:
  2928. 000022F0  223C 0004 8008           move.l     D1, 0x48008
  2929. 000022F6  6026                     bra        +0x28 /* 0000231E */
  2930. 000022F8  223C 0004 000C           move.l     D1, 0x4000C
  2931. 000022FE  601E                     bra        +0x20 /* 0000231E */
  2932. 00002300  223C 0004 0010           move.l     D1, 0x40010
  2933. 00002306  6016                     bra        +0x18 /* 0000231E */
  2934. 00002308  223C 0008 8014           move.l     D1, 0x88014
  2935. 0000230E  600E                     bra        +0x10 /* 0000231E */
  2936. fn00002310:
  2937. 00002310  223C 0004 8018           move.l     D1, 0x48018
  2938. 00002316  6006                     bra        +0x8 /* 0000231E */
  2939. 00002318  223C 0008 801C           move.l     D1, 0x8801C
  2940. label0000231E:
  2941. 0000231E  7004                     moveq.l    D0, 0x04
  2942. 00002320  6008                     bra        +0xA /* 0000232A */
  2943. fn00002322:
  2944. 00002322  223C 0014 8000           move.l     D1, 0x148000
  2945. 00002328  7005                     moveq.l    D0, 0x05
  2946. label0000232A:
  2947. 0000232A  41FA 0050                lea.l      A0, [PC + 0x50 /* 0000237C, value 0x0, cstring "" */]
  2948. 0000232E  48D0 1810                movem.l    [A0], D4,A3,A4
  2949. 00002332  2801                     move.l     D4, D1
  2950. 00002334  265F                     movea.l    A3, [A7]+
  2951. 00002336  598F                     subq.l     A7, 4
  2952. 00002338  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2953. 0000233E  3F00                     move.w     -[A7], D0
  2954. 00002340  A9A0                     syscall    GetResource
  2955. 00002342  201F                     move.l     D0, [A7]+
  2956. 00002344  672A                     beq        +0x2C /* 00002370 */
  2957. 00002346  2840                     movea.l    A4, D0
  2958. 00002348  08D4 0007                bset.b     [A4], 0x7
  2959. 0000234C  2054                     movea.l    A0, [A4]
  2960. 0000234E  7000                     moveq.l    D0, 0x00
  2961. 00002350  1004                     move.b     D0, D4
  2962. 00002352  D1C0                     add.l      A0, D0
  2963. 00002354  2F08                     move.l     -[A7], A0
  2964. 00002356  4217                     clr.b      [A7]
  2965. 00002358  205F                     movea.l    A0, [A7]+
  2966. 0000235A  4E90                     jsr        [A0]
  2967. 0000235C  4A44                     tst.w      D4
  2968. 0000235E  6A04                     bpl        +0x6 /* 00002364 */
  2969. 00002360  0894 0007                bclr.b     [A4], 0x7
  2970. label00002364:
  2971. 00002364  224B                     movea.l    A1, A3
  2972. 00002366  41FA 0014                lea.l      A0, [PC + 0x14 /* 0000237C, value 0x0, cstring "" */]
  2973. 0000236A  4CD0 1810                movem.l    D4,A3,A4, [A0]
  2974. 0000236E  4ED1                     jmp        [A1]
  2975. label00002370:
  2976. 00002370  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  2977. 00002376  4844                     swap.w     D4
  2978. 00002378  DEC4                     add.w      A7, D4
  2979. 0000237A  60E8                     bra        -0x16 /* 00002364 */
  2980. 0000237C  0000 0000                ori.b      D0, 0x0
  2981. 00002380  0000 0000                ori.b      D0, 0x0
  2982. 00002384  0000 0000                ori.b      D0, 0x0
  2983. fn00002388:
  2984. 00002388  7018                     moveq.l    D0, 0x18
  2985. label0000238A:
  2986. 0000238A  4267                     clr.w      -[A7]
  2987. 0000238C  51C8 FFFC                dbf        D0, -0x6 /* 0000238A */
  2988. 00002390  41FA 0014                lea.l      A0, [PC + 0x14 /* 000023A6, value 0x62E5072, pstring ".Print" */]
  2989. 00002394  2F48 0012                move.l     [A7 + 0x12], A0
  2990. 00002398  204F                     movea.l    A0, A7
  2991. 0000239A  A000                     syscall    Open/PBHOpen/HOpen
  2992. label0000239C:
  2993. 0000239C  DEFC 0032                add.w      A7, 0x32 /* '2' */
  2994. 000023A0  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2995. 000023A4  4E75                     rts
  2996. 000023A6  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  2997. 000023AC  7420                     moveq.l    D2, 0x20
  2998. 000023AE  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  2999. 000023B2  204F                     movea.l    A0, A7
  3000. 000023B4  317C FFFD 0018           move.w     [A0 + 0x18], 0xFFFD
  3001. 000023BA  A001                     syscall    Close
  3002. 000023BC  60DE                     bra        -0x20 /* 0000239C */
  3003. 000023BE  205F                     movea.l    A0, [A7]+
  3004. 000023C0  225F                     movea.l    A1, [A7]+
  3005. 000023C2  201F                     move.l     D0, [A7]+
  3006. 000023C4  221F                     move.l     D1, [A7]+
  3007. 000023C6  341F                     move.w     D2, [A7]+
  3008. 000023C8  2F08                     move.l     -[A7], A0
  3009. 000023CA  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  3010. 000023CE  3F42 001A                move.w     [A7 + 0x1A], D2
  3011. 000023D2  2F41 001C                move.l     [A7 + 0x1C], D1
  3012. 000023D6  2F40 0020                move.l     [A7 + 0x20], D0
  3013. 000023DA  2F49 0024                move.l     [A7 + 0x24], A1
  3014. 000023DE  3F7C FFFD 0018           move.w     [A7 + 0x18], 0xFFFD
  3015. 000023E4  204F                     movea.l    A0, A7
  3016. 000023E6  A004                     syscall    Control
  3017. 000023E8  60B2                     bra        -0x4C /* 0000239C */
  3018. fn000023EA:
  3019. 000023EA  619C                     bsr        -0x62 /* 00002388 */
  3020. 000023EC  6636                     bne        +0x38 /* 00002424 */
  3021. 000023EE  7200                     moveq.l    D1, 0x00
  3022. 000023F0  6002                     bra        +0x4 /* 000023F4 */
  3023. fn000023F2:
  3024. 000023F2  7201                     moveq.l    D1, 0x01
  3025. label000023F4:
  3026. 000023F4  594F                     subq.w     A7, 4
  3027. 000023F6  2F3C 5354 5220           move.l     -[A7], 0x53545220 /* 'STR ' */
  3028. 000023FC  3F3C E000                move.w     -[A7], 0xE000
  3029. 00002400  A9A0                     syscall    GetResource
  3030. 00002402  201F                     move.l     D0, [A7]+
  3031. 00002404  672C                     beq        +0x2E /* 00002432 */
  3032. 00002406  2240                     movea.l    A1, D0
  3033. 00002408  554F                     subq.w     A7, 2
  3034. 0000240A  08D1 0007                bset.b     [A1], 0x7
  3035. 0000240E  2F11                     move.l     -[A7], [A1]
  3036. 00002410  A997                     syscall    OpenResFile
  3037. 00002412  301F                     move.w     D0, [A7]+
  3038. 00002414  0891 0007                bclr.b     [A1], 0x7
  3039. 00002418  610C                     bsr        +0xE /* 00002426 */
  3040. 0000241A  4A41                     tst.w      D1
  3041. 0000241C  6706                     beq        +0x8 /* 00002424 */
  3042. 0000241E  3F00                     move.w     -[A7], D0
  3043. 00002420  A99A                     syscall    CloseResFile
  3044. 00002422  6102                     bsr        +0x4 /* 00002426 */
  3045. label00002424:
  3046. 00002424  4E75                     rts
  3047. fn00002426:
  3048. 00002426  31F8 0A60 0944           move.w     [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
  3049. 0000242C  6702                     beq        +0x4 /* 00002430 */
  3050. 0000242E  584F                     addq.w     A7, 4
  3051. label00002430:
  3052. 00002430  4E75                     rts
  3053. label00002432:
  3054. 00002432  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  3055. 00002438  4E75                     rts
  3056. fn0000243A:
  3057. 0000243A  3F78 0944 0004           move.w     [A7 + 0x4], [0x00000944 /* PrintErr */]
  3058. 00002440  4E75                     rts
  3059. 00002442  205F                     movea.l    A0, [A7]+
  3060. 00002444  31DF 0944                move.w     [0x00000944 /* PrintErr */], [A7]+
  3061. 00002448  4ED0                     jmp        [A0]
  3062.